package cn.iocoder.yudao.module.supplier.controller.admin.product.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 供应商产品 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProductRespVO {

    @Schema(description = "主键 产品 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14625")
    @ExcelProperty("主键 产品 编号")
    private Long id;

    @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("产品名称")
    private String name;

    @Schema(description = "产品编码 自动生成")
    @ExcelProperty("产品编码 自动生成")
    private String productCode;

    @Schema(description = "产品简介")
    @ExcelProperty("产品简介")
    private String introduction;

    @Schema(description = "产品分类编号", example = "7230")
    @ExcelProperty("产品分类编号")
    private Long categoryId;

    @Schema(description = "排序字段")
    @ExcelProperty("排序字段")
    private Integer sort;

    @Schema(description = "产品状态: 1 （开启） 0 （禁用）", example = "1")
    @ExcelProperty("产品状态: 1 （开启） 0 （禁用）")
    private Integer status;

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

}