package com.crm.rely.backend.core.entity.finance.follow.transfer;

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

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

@Data
public class FinanceFollowWithdrawAddEntity extends BaseAddEntity {

    /**
     * 订阅状态 1表示订单还是订阅（完成不取消只读） 2取消订阅（完成取消只读）
     */
    private int status;
    @NotNull(message = Constants.LOGIN_NOT_NULL_ERROR)
    private Long login;
    private BigDecimal amount;

    private Integer endValid;
}
