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

import lombok.Data;

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


@Data
@Entity
public class RiskCopyTradeRecordView {

    private Long order;

    private Long copyTradeId;

    private Long fromLogin;

    private Long toLogin;

    private String symbol;

    private Integer cmd;

    private Integer volume;

    private Date openTime;

    private BigDecimal openPrice;

    private BigDecimal sl;

    private BigDecimal tp;

    private Date closeTime;

    private BigDecimal closePrice;

    private BigDecimal commission;

    private BigDecimal profit;

    private String comment;

    private BigDecimal taxes;

    private BigDecimal storage;

    private Long newOrder;

    private Integer openStatus;

    private Integer closeStatus;

    private Long recordId;

}
