package com.muchinfo.mtp3pojos.vo;

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;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="HolderDetailExRedisVo对象", description="")
public class HolderDetailExRedisVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单号")
    private String tradeid;

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

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

    private String goodsCode;

    @ApiModelProperty(value = "方向")
    private String buyorselldisplay;

    @ApiModelProperty(value = "订单价格")
    private BigDecimal holderprice;

    @ApiModelProperty(value = "订单数量")
    private String holdernum;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal holderamount;

    @ApiModelProperty(value = "占用资金")
    private BigDecimal payeddeposit;
    private BigDecimal restockdeposit;
    private BigDecimal callatefee;
    private Long holddays;

    @ApiModelProperty(value = "浮动盈亏")
    private BigDecimal floatpl;
    private BigDecimal depositrate;

    @ApiModelProperty(value = "风险率")
    private String depositratedisplay;
    private String memberusername;
    private String parentusername;
    private BigDecimal risk;
    private Integer buyorsell;
    private Long parentareaid;
    private Long userid;
    private BigDecimal promptdepositrate;
    private BigDecimal cutdepositrate;
    private Integer pageNo;
    private Integer pageSize;
    //销售总数量
    private double sellCount;
    //回购总数量
    private double buyBackCount;

    @ApiModelProperty(value = "现价")
    private String lastprice;
    private double holderqty;
    private double agreeunit;
    private Long freezeqty;

    @ApiModelProperty(value = "冻结数量")
    private String freezenum;
    private String promptprice;
    private String cutprice;
    private BigDecimal totalamount;
    private String avgholderprice;

    @ApiModelProperty(value = "订单时间")
    private String tradetimestr;
}
