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

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

@Schema(description = "管理后台 - 加氢站配置创建/更新 Request VO")
@Data
public class EnergyStationConfigSaveReqVO {
    @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 Boolean autoDeduct;
    @Schema(description = "合作类型")
    private Integer cooperationType;
    @Schema(description = "自动匹配开关")
    private Boolean autoMatch;
    @Schema(description = "备注")
    private String remark;
}
