mitao
2024-04-15 ce7e6574a1f9942fc090d989b52aceaa11ba8f3e
ruoyi-system/src/main/java/com/ruoyi/system/domain/TbField.java
@@ -1,6 +1,8 @@
package com.ruoyi.system.domain;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.enums.FieldInputTypeEnum;
import com.ruoyi.common.enums.FieldTypeEnum;
import com.ruoyi.common.enums.ShowStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@@ -8,7 +10,7 @@
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
/**
 * <p>
@@ -28,7 +30,7 @@
    @ApiModelProperty(value = "字段id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Long id;
    @ApiModelProperty(value = "字段名")
    @TableField("field_name")
@@ -36,19 +38,19 @@
    @ApiModelProperty(value = "字段类型(1=数字 2=文本 3=百分比)")
    @TableField("field_type")
    private Integer fieldType;
    private FieldTypeEnum fieldType;
    @ApiModelProperty(value = "一级分类id")
    @TableField("level_one_category_id")
    private Integer levelOneCategoryId;
    private Long levelOneCategoryId;
    @ApiModelProperty(value = "二级分类id")
    @TableField("level_two_category_id")
    private Integer levelTwoCategoryId;
    private Long levelTwoCategoryId;
    @ApiModelProperty(value = "三级分类id")
    @TableField("level_three_category_id")
    private Integer levelThreeCategoryId;
    private Long levelThreeCategoryId;
    @ApiModelProperty(value = "一级分类")
    @TableField("level_one_category")
@@ -76,7 +78,7 @@
    @ApiModelProperty(value = "文本输入类型(1=手动输入 2=固定内容)")
    @TableField("text_input_type")
    private Integer textInputType;
    private FieldInputTypeEnum textInputType;
    @ApiModelProperty(value = "文本最少字数")
    @TableField("text_min_num")
@@ -96,20 +98,20 @@
    private String delFlag;
    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    @TableField(value = "create_by", fill = FieldFill.INSERT)
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    private Date createTime;
    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    private Date updateTime;
}