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

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 = "CommissionSheetParam对象", description = "委托单查询请求")
public class CommissionSheetParam {

    @ApiModelProperty(value = "operatetype=0查询所有   operatetype=2查询斩仓记录")
    private Integer operateType;

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

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

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

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

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

    @ApiModelProperty(value = "账户名  operatetype == 2")
    private String accountName;

    @ApiModelProperty(value = "委托单号  operatetype == 2")
    private String orderId;

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

    @ApiModelProperty(value = "排除资金账户")
    private String excludeAccountIdsStr;

    private String[] excludeAccountIds;

    @ApiModelProperty(value = "状态 1 已成交 2 未成交")
    private Integer searchStatus;

    @ApiModelProperty(value = "查询类型 1历史 0当前  operatetype=2时固定为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;

    @ApiModelProperty(value = "委托状态 ")
    private Integer orderStatus;

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

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