package com.crm.rely.backend.core.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Administrator
 */
@Data
@Entity
@Table(name = "follow_order_record")
public class FollowOrderRecordTable extends BaseTable {
    private String serial;
    private Long subscribeId;

    private Long dealCustomId;
    @Column(name = "[deal_c_id]")
    private Long dealCId;

    private String dealPlatform;
    private Long dealLogin;
    private Integer dealOrder;
    private String dealSymbol;
    private BigDecimal dealOpenPrice;
    private Date dealOpenTime;
    private Integer dealCmd;
    private BigDecimal dealSl;
    private BigDecimal dealTp;
    private Integer dealVolume;
    private Integer dealCloseVolume;
    private BigDecimal dealClosePrice;
    private Date dealCloseTime;

    private Long followCustomId;
    @Column(name = "[follow_c_id]")
    private Long followCId;

    private String followPlatform;
    private Long followLogin;
    private Long followOrder;
    private String followSymbol;
    private Integer followCmd;
    private BigDecimal followOpenPrice;
    private Date followOpenTime;
    private String comment;
    private BigDecimal followSl;
    private BigDecimal followTp;
    private Integer followVolume;

    private Integer followCloseVolume;
    private BigDecimal followClosePrice;
    private Date followCloseTime;

    private BigDecimal followProfit;

    private Integer tradeStatus;

    private Integer closeStatus;

    private Integer followOpenTimeStatus;

    private Integer followCloseTimeStatus;

    private Integer dealTotalCloseVolume;

    private Integer followTotalCloseVolume;


    private Integer forceClose;


    private Long followCloseOrder;

}
