package com.muchinfo.mtp3pojos.vo.query.order;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ForcedOrderParam对象", description = "强制终止单响应")
public class ForcedOrderResult {

    @ExcelProperty("订单号")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单号")
    private String opentradeid;

    @ExcelProperty("客户")
    @ColumnWidth(20)
    @ApiModelProperty(value = "客户")
    private String userfullname;

    @ExcelProperty("所属会员")
    @ColumnWidth(20)
    @ApiModelProperty(value = "所属会员")
    private String memberfullname;

    @ExcelProperty("商品/代码")
    @ColumnWidth(20)
    @ApiModelProperty(value = "商品/代码")
    private String goodsfullname;

    @ExcelProperty("订单方向")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单方向")
    private String holderbuyorsell;

    @ExcelProperty("订单价格")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单价格")
    private BigDecimal openprice;

    @ExcelProperty("订单数量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单数量")
    private String opennum;

    @ExcelProperty("订单时间")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单时间")
    private String opentime;

    @ExcelProperty("终止价格")
    @ColumnWidth(20)
    @ApiModelProperty(value = "终止价格")
    private BigDecimal closeprice;

    @ExcelProperty("终止数量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "终止数量")
    private String closenum;

    @ExcelProperty("终止盈亏")
    @ColumnWidth(20)
    @ApiModelProperty(value = "终止盈亏")
    private BigDecimal closepl;

    @ExcelProperty("风险率")
    @ColumnWidth(20)
    @ApiModelProperty(value = "风险率")
    private String depositrate;

    @ExcelProperty("终止时间")
    @ColumnWidth(20)
    @ApiModelProperty(value = "终止时间")
    private String closetime;

    private String closeid;

    private Long userid;

    private String tradeid;

    private Long accountid;

    private Long marketid;

    private Integer buyorsell;

    private String goodscode;
}
