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

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

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


@Data
@Entity
public class RiskImportTradeRecordView extends BaseTable {

    private Long importTradeId;

    private String serial;

    private String platform;
    @Column(name = "\"source\"")
    private Integer source;
    @Column(name = "\"order\"")
    private Long order;

    private Long login;

    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 Date importTime;

    private Integer status;

    private String symbolName;
}
