package com.zt.plat.module.base.api.materialclasses.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 物料分类 Response DTO
 */
@Data
public class MaterialClassesRespDTO {

    @Schema(description = "主键ID", example = "4051")
    private Long id;

    @Schema(description = "父级ID", example = "20706")
    private Long parentId;

    @Schema(description = "分类编码")
    private String code;

    @Schema(description = "分类名称", example = "原材料")
    private String name;

    @Schema(description = "分类级别-用于类别层级(大/中/小类)")
    private Long level;

    @Schema(description = "备注")
    private String remark;

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