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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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 = "管理后台 - 单位转换分页 Request VO")
@Data
public class UnitConversionPageReqVO extends PageParam {

    @Schema(description = "计量单位量ID(量纲ID)", example = "1")
    private Long untQtyId;

    @Schema(description = "源单位ID", example = "26239")
    private Long srcUntId;

    @Schema(description = "目标单位ID", example = "25640")
    private Long tgtUntId;

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

    @Schema(description = "转换公式")
    private String fmu;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}