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

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 = "ContractSheetParam对象", description = "成交单查询请求")
public class ContractSheetParam {

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

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

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

    @ApiModelProperty(value = "排序 1委托方向 2委托价格 3委托数量 4成交数量 5委托时间  ")
    private Integer sortField;
    @ApiModelProperty(value = "排序 1 降序 0 升序")
    private Integer sortType;

    @ApiModelProperty(value = "类型 buildtype   ")
    private Integer buildType;

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

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

    @ApiModelProperty(value = "成交类别")
    private String tradeTypes;

    @ApiModelProperty(value = "所属机构")
    private String areaUserName;

    @ApiModelProperty(value = "所属机构 1：等于0,2：不等于0")
    private String feeSearchType;

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

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

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

    private Integer tradeMode;

    private String tradeDate;

    private List<Integer> filterTrademodeList;

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

    private Long areaUserid;

    private Integer isSwap;

    private Integer nameType;

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

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