| | |
| | | package com.ruoyi.system.dto; |
| | | |
| | | import com.ruoyi.common.enums.FieldInputTypeEnum; |
| | | import com.ruoyi.common.enums.FieldTypeEnum; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | @NotBlank(message="字段名不能为空") |
| | | private String fieldName; |
| | | |
| | | @ApiModelProperty(value = "字段类型(1=数字 2=文本 3=百分比)") |
| | | @ApiModelProperty(value = "字段类型(1=数字 2=文本 3=百分比)直接传文字") |
| | | @NotNull(message="字段类型不能为空") |
| | | private Integer fieldType; |
| | | private FieldTypeEnum fieldType; |
| | | |
| | | @ApiModelProperty(value = "一级分类id") |
| | | @NotNull(message="分类id不能为空") |
| | | private Integer levelOneCategoryId; |
| | | private Long levelOneCategoryId; |
| | | |
| | | @ApiModelProperty(value = "二级分类id") |
| | | private Integer levelTwoCategoryId; |
| | | private Long levelTwoCategoryId; |
| | | |
| | | @ApiModelProperty(value = "三级分类id") |
| | | private Integer levelThreeCategoryId; |
| | | private Long levelThreeCategoryId; |
| | | |
| | | @ApiModelProperty(value = "数字最小值") |
| | | private Integer numMin; |
| | |
| | | @ApiModelProperty(value = "数字最大值") |
| | | private Integer numMax; |
| | | |
| | | @ApiModelProperty(value = "文本输入类型(1=手动输入 2=固定内容)") |
| | | private Integer textInputType; |
| | | @ApiModelProperty(value = "文本输入类型(1=手动输入 2=固定内容)直接传文字") |
| | | private FieldInputTypeEnum textInputType; |
| | | |
| | | @ApiModelProperty(value = "文本最少字数") |
| | | private Integer textMinNum; |