package com.seer.teach.mp.app.controller.resp;

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

@Schema(name = "AppActivityFormFieldResp", description = "APP端活动表单字段响应参数")
@Data
public class AppActivityFormFieldResp {

    private Integer id;

    @Schema(description = "字段名称")
    private String fieldName;

    @Schema(description = "字段代码（英文标识）")
    private String fieldCode;

    @Schema(description = "字段类型：text, textarea, select, radio, checkbox, date, number等")
    private String fieldType;

    @Schema(description = "字段选项（JSON格式，适用于select, radio, checkbox等）")
    private String fieldOptions;

    @Schema(description = "占位符提示")
    private String placeholder;

    @Schema(description = "是否必填：0-否，1-是")
    private Integer isRequired;

    @Schema(description = "排序")
    private Integer sortOrder;

    @Schema(description = "验证规则（JSON格式）")
    private String validationRules;

    @Schema(description = "字段描述")
    private String description;

}