package com.sckw.goods.entity.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

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

/**
 * @desc:
 * @author: Lt
 * @date: 2024-04-26
 */
@Data
public class GoodsFindPageRes implements Serializable {

    private String id;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 商品编号
     */
    private String goodsNum;

    /**
     * 商品描述
     */
    private String descn;

    /**
     * 商品价格
     */
    private Double price;

    /**
     * 商品库存
     */
    private Integer stockQuantity;

    /*
    单位
     */
    private String unit;

    /*
    规格尺寸
     */
    private String specSize;

    /*
    发票税率
     */
    private String invoiceRate;

    /**
     * 商品图片
     */
    private String imageUrl;

    /**
     * 商品类型
     */
    private Long categoryId;
    private String categoryName;

    /*
    是否清单
     */
    private Integer isInventory;

    private String companyId;
    private String companyName;

    /**
     * 状态  0正常
     */
    private Integer status;
    private String statusStr;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * create_by
     */
    private String createBy;

    /**
     * update_by
     */
    private String updateBy;

    /**
     * create_time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * update_time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private GoodsMoreRes goodsMoreRes;

    private List<InventoryDetailRes> inventoryList;
    private List<GoodsReplenishRes> replenishList;



}
