package com.crm.rely.backend.model.entity.finance.withdraw;

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

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class FinanceWithdrawBaseAddEntity extends BaseAddEntity {

    /**
     * 用户id
     */
    private Long customId;

    /**
     * 出金账号
     */
    private Long login;
    /**
     * 出金金额
     */
    @NotNull
    private BigDecimal amount;
    private BigDecimal rate;
    private BigDecimal cny;

    /**
     * 1 交易账户 2美金账户 3人民币账户
     */
    @NotNull
    private Integer sourceType;

    private Long cId;

}
