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

import com.seer.teach.common.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "活动表单模板查询请求")
public class ActivityFormQueryReq extends PageRequest {

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

    @Schema(description = "表单名称")
    @NotBlank(message = "表单名称不能为空")
    @Size(max = 255, message = "表单名称长度不能超过255个字符")
    private String formName;

    @Schema(description = "表单模板描述")
    private String formDescription;

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

}