package com.crm.rely.backend.core.entity.sales;


import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class SalesBalanceWithdrawalEntity extends BaseAddEntity {

    private Long salesId;

    @NotNull(message = "parameter_error")
    @Min(value = 0, message = "parameter_error")
    private Float amount;
    /**
     * 工资交易账号
     */
    private Long salaryLogin;
    /**
     * 工资交易平台
     */
    private String salaryPlatform;
    /**
     * 流水号
     */
    private String serial;

    private String ibNo;

}
