package cn.iocoder.yudao.module.member.controller.admin.storegoodsinventory.vo;

import cn.iocoder.yudao.module.member.dal.dataobject.storegoods.StoreGoodsDO;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 商品库存 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StoreGoodsInventoryRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24517")
    @ExcelProperty("编号")
    private Integer id;

    @Schema(description = "商品ID", example = "16735")
    @ExcelProperty("商品ID")
    private Integer goodsId;

    @Schema(description = "门店ID", example = "14609")
    @ExcelProperty("门店ID")
    private Long carteenId;

    @Schema(description = "数量")
    @ExcelProperty("数量")
    private Integer number;

    @Schema(description = "重量")
    @ExcelProperty("重量")
    private Double weight;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 类别Id
     */
    @ExcelIgnore
    private Integer categoryId;
    /**
     * 商品名称
     */
    @ExcelIgnore
    private String goodsName;
    /**
     * 价格
     */
    @ExcelIgnore
    private Double price;
    /**
     * 售卖模式
     */
    @ExcelIgnore
    private Integer salesModel;


    /**
     * 库存
     */
    @ExcelIgnore
    private Integer inventory;

    /**
     * 图片
     */
    @ExcelIgnore
    private String img;
}