package cn.iocoder.yudao.module.asset.controller.admin.delivery.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 DeliveryTaskActivateReqVO {

    @Schema(description = "任务ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "任务ID不能为空")
    private Long id;

    @Schema(description = "预计交车开始日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "预计交车开始日期不能为空")
    private LocalDate expectedDeliveryDateStart;

    @Schema(description = "预计交车结束日期")
    private LocalDate expectedDeliveryDateEnd;

    @Schema(description = "开始计费日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "开始计费日期不能为空")
    private LocalDate billingStartDate;
}
