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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 金属元素 Response VO")
@Data
public class ElementDTO {

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

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

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

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

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

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

}