package com.crm.rely.backend.core.entity.follow.deal.subscribe;

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 FollowDealSubscribeAddEntity extends BaseAddEntity {

    private Long dealId;

    private Long dealLogin;

    private Long followCustomId;
    private Long followCId;

    private Long followLogin;

    private int protect;
    private Integer protectType;
    private BigDecimal protectAmount;
    private Integer protectRatio;

    @NotNull(message = Constants.PARAMETER_ERROR)
    private Integer followType;
    private Integer volume;
    private Integer ratio;

    private int status;
}
