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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "PositionSheetParam对象", description = "持仓单查询请求")
public class PositionSheetParam {

    @ApiModelProperty(value = "市场id")
    private Long marketId;

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "方向 buyOrSell ")
    private Integer buyOrSell;

    @ApiModelProperty(value = "登入账号")
    private Long loginId;

    @ApiModelProperty(value = "成交单号")
    private String tradeId;

    @ApiModelProperty(value = "所属机构")
    private Long parentAreaId;

    @ApiModelProperty(value = "资金账号id")
    private String accountId;

    @ApiModelProperty(value = "有效持仓")
    private String validHolderQty;

    @ApiModelProperty(value = "查询类型 1历史 0当前")
    private Integer isHis;

    @ApiModelProperty(value = "开始时间")
    private String startDate;

    @ApiModelProperty(value = "结束时间")
    private String endDate;

    private Integer tradeMode;

    private String tradeDate;

    private List<Integer> filterTrademodeList;

    @ApiModelProperty(value = "权限控制")
    private String orgztypes;

    private Long areaUserid;

    private Integer selfSupport;

    @ApiModelProperty(value = "* 页码 *")
    private Integer pageNum;

    @ApiModelProperty(value = "* 页大小 *")
    private Integer pageSize;
}
