package cn.iocoder.yudao.module.energy.controller.admin.record.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;

@Schema(description = "管理后台 - 加氢记录创建/更新 Request VO")
@Data
public class HydrogenRecordSaveReqVO {
    @Schema(description = "主键ID")
    private Long id;
    @Schema(description = "加氢站ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "加氢站不能为空")
    private Long stationId;
    @Schema(description = "车牌号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "车牌号不能为空")
    private String plateNumber;
    @Schema(description = "加氢日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "加氢日期不能为空")
    private LocalDate hydrogenDate;
    @Schema(description = "加氢量(KG)", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "加氢量不能为空")
    private BigDecimal hydrogenQuantity;
    @Schema(description = "单价", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "单价不能为空")
    private BigDecimal unitPrice;
    @Schema(description = "金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;
    @Schema(description = "里程数")
    private BigDecimal mileage;
}
