package com.seer.teach.mp.admin.controller.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(name = "MpActivityReq", description = "代理商活动请求参数")
@Data
public class MpActivityReq {

    @Schema(description = "活动ID")
    private Integer id;

    @NotBlank(message = "活动名称不能为空")
    @Schema(description = "活动名称")
    private String activityName;

    @Schema(description = "活动描述")
    private String description;

    @NotNull(message = "活动开始时间不能为空")
    @Schema(description = "活动开始时间")
    private LocalDateTime startTime;

    @NotNull(message = "活动结束时间不能为空")
    @Schema(description = "活动结束时间")
    private LocalDateTime endTime;

    @Schema(description = "活动状态：0-禁用，1-启用")
    private Integer status = 1;
}