package cn.superdesk.uniorder.dto.param.accounting.unified.supplier;

import cn.superdesk.uniorder.common.pagination.AnBaseQueryCriteria;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * @Description: Java类作用描述
 * @Author: linjinyu
 * @CreateDate: 2021/7/7 下午3:26
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021/7/7 下午3:26
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@SuperBuilder(toBuilder = true)
@ToString
public class AccountingSupplierNotYetDimGoodsQueryCriteria extends AnBaseQueryCriteria {

    @ApiModelProperty("hasOutVirtId:0-条件忽略;1-要有企业;2-没有企业;")
    private Integer hasOutVirtId;

    @ApiModelProperty("订单编号")
    private String  orderSn;
    @ApiModelProperty("订单类型:1-订单;2-售退(退单);")
    private Integer orderType;

    @ApiModelProperty("京东子单号/快递单号")
    private String expressSn;

    @ApiModelProperty("订单状态")
    private Integer orderState;
    @ApiModelProperty("订单状态")
    private String  orderStateName;

    @ApiModelProperty("客户结算-订单锁定:0-正常;1-销定;")
    private Integer orderLockingCustomer;
    @ApiModelProperty("供应商结算-订单锁定:0-正常;1-销定;")
    private Integer orderLockingSupplier;
    @ApiModelProperty("客户结算-商品锁定:0-正常;1-销定;")
    private Integer goodsLockingCustomer;
    @ApiModelProperty("供应商结算-商品锁定:0-正常;1-销定; 对映界面 只显示售后中(挂载订单)")
    private Integer goodsLockingSupplier;

    @ApiModelProperty("订单来源/订单类型")
    private String serviceNo;

    @ApiModelProperty("下单人 企业Id outVirtId eq")
    private Integer purchaseVirtId;
    @ApiModelProperty("下单人 企业名称 outVirtName like")
    private String  purchaseVirtName;

    @ApiModelProperty("下单人 Id eq")
    private Integer purchaseUserId;
    @ApiModelProperty("下单人 名称 like %xxx%")
    private String  purchaseUserName;
    @ApiModelProperty("下单人 联系电话 eq")
    private String  purchasePhone;

    @ApiModelProperty("供应商Id")
    private Long   supplierId;
    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("订单金额")
    private String amount;

    @ApiModelProperty("时间类型:1-createTime(下单时间);2-updateTime(最后更新时间);3-payTime(支付时间);4-sendTime(发货时间);5-finishTime(完成时间);6-accountingTime(结算时间);")
    private Integer dateType;
    @ApiModelProperty("startTime: 2021-07-02")
    private String  startTime;
    @ApiModelProperty("endTime: 2021-07-03")
    private String  endTime;

    @ApiModelProperty("供应商对账状态:2-未对账; 引用 enum CommonAccountingStateEnum CommonAccountingStateEnum.未对账.getKey() 不能设置默认值")
    private Integer accountingStateSupplier;

    /****************************************** 勾选导出 start ******************************************/

    @ApiModelProperty("指定(勾选导出) unifiedOrderGoodsIds")
    private List<Long> unifiedOrderGoodsIds;

    /****************************************** 勾选导出 start ******************************************/


}
