package com.zt.plat.module.base.controller.admin.base.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 ElementRespVO {

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

    @Schema(description = "金属元素缩写", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("金属元素缩写")
    private String abbreviation;

    @Schema(description = "金属元素名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("金属元素名称")
    private String name;

    @Schema(description = "金属元素编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("金属元素编码")
    private String coding;

    @Schema(description = "小数位数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("小数位数")
    private Long decimalValue;

    @Schema(description = "品位单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("品位单位")
    private String gradeUnit;

    @Schema(description = "是否启用")
    @ExcelProperty("是否启用")
    private String isEnable;

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

    @Schema(description = "排序")
    private Integer sort;
}