package com.qryord.mp.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "查询结果")
public class QueryResp implements Serializable {
    private static final long serialVersionUID = 3236936010274484670L;

    /** 客户编号 */
    @ApiModelProperty(name = "custNo", value = "顾客编号", required = false)
    private String custNo;

    /** 客户名称 */
    @ApiModelProperty(name = "custName", value = "顾客名称", required = false)
    private String custName;

    /** 商品名称 */
    @ApiModelProperty(name = "itemCode", value = "产品名称", required = false)
    private String itemCode;

    /** 商品名称 */
    @ApiModelProperty(name = "prodName", value = "产品描述", required = false)
    private String prodName;

    /** 商品规格 */
    @ApiModelProperty(name = "propName", value = "产品名称", required = false)
    private String propName;

    /** 序列号 */
    @ApiModelProperty(name = "snNo", value = "序列号", required = false)
    private String snNo;

    /** 批号 */
    @ApiModelProperty(name = "batchNo", value = "批号", required = false)
    private String batchNo;

    /** 发货到（地址） */
    @ApiModelProperty(name = "address", value = "发货到（地址）", required = false)
    private String address;

    /** 出库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "outDate", value = "出库日期", required = false)
    private Date outDate;

    /** 订单编号 */
    @ApiModelProperty(name = "orderNo", value = "订单编号", required = false)
    private String orderNo;

    /** 订单数量 */
    @ApiModelProperty(name = "quantity", value = "订单数量", required = false)
    private Integer quantity;



}
