package cn.iocoder.yudao.module.energy.controller.admin.price.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 EnergyStationPriceSaveReqVO {
    @Schema(description = "主键ID")
    private Long id;
    @Schema(description = "加氢站ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "加氢站不能为空")
    private Long stationId;
    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "客户不能为空")
    private Long customerId;
    @Schema(description = "成本价", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "成本价不能为空")
    private BigDecimal costPrice;
    @Schema(description = "对客价", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "对客价不能为空")
    private BigDecimal customerPrice;
    @Schema(description = "生效日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "生效日期不能为空")
    private LocalDate effectiveDate;
    @Schema(description = "失效日期")
    private LocalDate expiryDate;
}
