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

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

@Schema(description = "管理后台 - 能源账单生成 Request VO")
@Data
public class EnergyBillGenerateReqVO {
    @Schema(description = "能源类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "能源类型不能为空")
    private Integer energyType;
    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "客户不能为空")
    private Long customerId;
    @Schema(description = "合同ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "合同不能为空")
    private Long contractId;
    @Schema(description = "加氢站ID")
    private Long stationId;
    @Schema(description = "账单周期开始", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "账单周期开始不能为空")
    private LocalDate billPeriodStart;
    @Schema(description = "账单周期结束", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "账单周期结束不能为空")
    private LocalDate billPeriodEnd;
}
