package cn.iocoder.yudao.module.pms.controller.admin.iotmaterialgroup.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 = "管理后台 - PMS 功能优化 物料组 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotMaterialGroupRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "12551")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "物料组名称", example = "李四")
    @ExcelProperty("物料组名称")
    private String name;

    @Schema(description = "父物料组id", example = "15666")
    @ExcelProperty("父物料组id")
    private Long parentId;

    @Schema(description = "显示顺序")
    @ExcelProperty("显示顺序")
    private Integer sort;

    @Schema(description = "状态 0启用  1停用", example = "2")
    @ExcelProperty("状态 0启用  1停用")
    private Integer status;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}