package com.cf.imes.module.system.controller.admin.funds.advertisement.vo;


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

import java.time.LocalDate;

@Schema(description = "广告发布状态")
@Data
@ToString(callSuper = true)
public class AdvertisementRePublishReqVO {


    @Schema(description = "广告id")
    private Long id;


    @Schema(description = "投放开始时间，重新发布时传")
    @NotNull(message = "{ad.startTime.notNull}")
    private LocalDate startTime;


    @Schema(description = "投放结束时间，重新发布时传")
    @NotNull(message = "{ad.endTime.notNull}")
    private LocalDate endTime;




}
