package com.zt.plat.module.base.controller.admin.unitConversion.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 单位转换 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UnitConversionRespVO {

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

    @Schema(description = "源单位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26239")
    @ExcelProperty("源单位ID")
    private Long srcUntId;

    @Schema(description = "目标单位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25640")
    @ExcelProperty("目标单位ID")
    private Long tgtUntId;

    @Schema(description = "转换因子")
    @ExcelProperty("转换因子")
    private BigDecimal fctr;

    @Schema(description = "转换公式", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("转换公式")
    private String fmu;

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

}