package cn.superdesk.uniorder.dto.param.order.base;

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.math.BigDecimal;
import java.util.Date;

/**
 * @Description:
 * @Author: linjinyu
 * @Email linjinyu@avic-s.com
 * @CreateDate: 2022-07-13 14:07:41
 * @UpdateUser: linjinyu
 * @UpdateDate: 2022-07-13 14:07:41
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
@Data
@ToString
public class UnifiedOrderReturnGoodsQueryCriteria extends AnBaseQueryCriteria {

    @ApiModelProperty("")
    private Long       id;
    @ApiModelProperty("")
    private String     returnSn;
    @ApiModelProperty("退单号")
    private String     refundOrderSn;
    @ApiModelProperty("")
    private String     goodsName;
    @ApiModelProperty("商品名称 别名")
    private String     goodsAlias;
    @ApiModelProperty("")
    private Long       goodsId;
    @ApiModelProperty("")
    private Long       outSnapshotOrderGoodsId;
    @ApiModelProperty("商品类型:1-商品;2-运费;3-杂费;4-赠品;")
    private Integer    goodsType;
    @ApiModelProperty("商品单位")
    private String     unit;
    @ApiModelProperty("")
    private Integer    quantity;
    @ApiModelProperty("")
    private BigDecimal price;
    @ApiModelProperty("")
    private BigDecimal costPrice;
    @ApiModelProperty("财务编码")
    private String     fiscalCode;
    @ApiModelProperty("税务编码")
    private String     taxCode;
    @ApiModelProperty("税率%")
    private BigDecimal taxRate;
    @ApiModelProperty("商户税率ID - 20210413 - 添加")
    private Long       merchTaxId;
    @ApiModelProperty("商户税率编码 - 20210413 - 添加")
    private String     merchTaxCode;
    @ApiModelProperty("商户税率 - 20210413 - 添加")
    private BigDecimal merchTaxRate;
    @ApiModelProperty("平台税率ID - 20210413 - 添加")
    private Long       operationTaxId;
    @ApiModelProperty("平台税率编码 - 20210413 - 添加")
    private String     operationTaxCode;
    @ApiModelProperty("平台税率 - 20210413 - 添加")
    private BigDecimal operationTaxRate;
    @ApiModelProperty("")
    private Long       cateIdLv1;
    @ApiModelProperty("")
    private String     cateNameLv1;
    @ApiModelProperty("")
    private Long       cateIdLv2;
    @ApiModelProperty("")
    private String     cateNameLv2;
    @ApiModelProperty("")
    private Long       cateIdLv3;
    @ApiModelProperty("分类名称")
    private String     cateNameLv3;
    @ApiModelProperty("商品规格 add at 20201028")
    private String     selfOption;
    @ApiModelProperty("")
    private Integer    direction;
    @ApiModelProperty("客户对账锁定:0-正常;1-销定")
    private Integer    goodsLockingCustomer;
    @ApiModelProperty("供应商对账锁定:0-正常;1-销定")
    private Integer    goodsLockingSupplier;
    @ApiModelProperty("客户对账:1-已对账;2-未对账")
    private Integer    accountingStateCustomer;
    @ApiModelProperty("供应商对账:1-已对账;2-未对账")
    private Integer    accountingStateSupplier;
    @ApiModelProperty("0-未回款;1-已回款;")
    private Integer    backAccountStatus;
    @ApiModelProperty("")
    private Date       createTime;
    @ApiModelProperty("")
    private Long       createUserId;
    @ApiModelProperty("")
    private Date       updateTime;
    @ApiModelProperty("")
    private Long       updateUserId;
    @ApiModelProperty("")
    private String     goodsParams;


}