package com.yhy.module.core.controller.admin.boq.vo;

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

import java.time.LocalDateTime;
import java.util.Map;

/**
 * 清单子项 Response VO
 *
 * @author yhy
 */
@Schema(description = "管理后台 - 清单子项 Response VO")
@Data
public class BoqSubItemRespVO {

    @Schema(description = "子项ID", example = "1")
    private Long id;

    @Schema(description = "清单项树ID", example = "1")
    private Long boqItemTreeId;

    @Schema(description = "编码", example = "010101001")
    private String code;

    @Schema(description = "名称", example = "平整场地(人工)")
    private String name;

    @Schema(description = "单位", example = "m²")
    private String unit;

    @Schema(description = "清单说明（富文本）", example = "<p>适用于建筑场地的平整工程</p>")
    private String description;

    @Schema(description = "排序", example = "1")
    private Integer sortOrder;

    @Schema(description = "扩展属性")
    private Map<String, Object> attributes;

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

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
