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

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 StoreGoodsRespVO {

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

    @Schema(description = "类别Id", example = "28357")
    @ExcelProperty("类别Id")
    private Integer categoryId;

    @Schema(description = "商品名称", example = "张三")
    @ExcelProperty("商品名称")
    private String goodsName;

    @Schema(description = "价格", example = "11124")
    @ExcelProperty("价格")
    private Double price;

    @Schema(description = "售卖模式")
    @ExcelProperty("售卖模式")
    private Integer salesModel;

    @Schema(description = "设备ID")
    @ExcelProperty("设备ID")
    private String equipmentCode;

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

    private String img;

    private Long carteenId;

}