package com.yn.bftl.thirdparty.modules.chinaums.dto.byx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ProfitSharingRuleDetailDTO", description = "分账规则明细DTO")
@Builder
public class ProfitSharingRuleDetailDTO {

    @ApiModelProperty(value = "关联分账方电子账户 ID", notes = "备注：关联分账方为银行账户时，填写银行账户")
    private String profitSharingWalletId;

    @ApiModelProperty(value = "关联分账方电子账户名称", notes = "备注：关联分账方为银行账户时，填写银行账户名称")
    private String profitSharingWalletName;

    @ApiModelProperty(value = "清算比例", notes = "万分之 N。分账方式为按比例分账时，该字段必填。")
    private Long settRate;

    @ApiModelProperty(value = "单笔金额最小值", notes = "单位（分）最小为 0。分账方式为按比例分账时，该字段必填。")
    private Long rateMinSettAmt;

    @ApiModelProperty(value = "单笔金额最大值", notes = "单位（分）最小为 0 且必须大于或等于单笔金额最小值。分账方式为按比例分账时，该字段必填。")
    private Long rateMaxSettAmt;

    @ApiModelProperty(value = "固定金额", notes = "单位：分 . 分账方式为按固定金额分账时，该字段必填。")
    private Long fixedSettAmt;
}
