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

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

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FollowDealSubscribeUpdateEntity extends BaseUpdateEntity {

    /**
     * 用户是1 管理员是2或者其他
     */
    private int updateType;

    /**
     * 保护设置
     */
    private int protect;
    private Integer protectType;
    private BigDecimal protectAmount;
    private Integer protectRatio;

    private Date startTime;
    private Date endTime;
    /**
     * 订阅状态 1：订阅中，2：取消订阅
     */
    private int status;

    /**
     * 是否强制平仓 0否 1是
     */
    private Integer forceClose;


    private Integer followType;
    private Integer volume;
    private Integer ratio;

    private Integer distributionType;
    private Integer distributionRatio;
}
