| | |
| | | package com.ruoyi.system.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.ruoyi.common.enums.CalculateTypeEnum; |
| | | import com.ruoyi.common.enums.ShowStatusEnum; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | * </p> |
| | | * |
| | | * @author mitao |
| | | * @since 2024-03-13 |
| | | * @since 2024-03-18 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "基础数据配置id") |
| | | @TableId("id") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "基础数据分类id") |
| | |
| | | |
| | | @ApiModelProperty(value = "计算类型(1=数字计算 2=文本统计 3=百分比统计)") |
| | | @TableField("calculate_type") |
| | | private Integer calculateType; |
| | | private CalculateTypeEnum calculateType; |
| | | |
| | | @ApiModelProperty(value = "字段id") |
| | | @TableField("field_id") |
| | | private Integer fieldId; |
| | | @ApiModelProperty(value = "数字计算公式") |
| | | @TableField("number_calculate_formula") |
| | | private String numberCalculateFormula; |
| | | |
| | | @ApiModelProperty(value = "计算公式") |
| | | @TableField("calculate_formula") |
| | | private String calculateFormula; |
| | | @ApiModelProperty(value = "字段id (多个id使用 ',' 拼接)") |
| | | @TableField("field_id_str") |
| | | private String fieldIdStr; |
| | | |
| | | @ApiModelProperty(value = "隐藏状态(0=展示中 1=已隐藏)") |
| | | @ApiModelProperty(value = "状态(0=展示 1=隐藏)") |
| | | @TableField("status") |
| | | private Integer status; |
| | | private ShowStatusEnum status; |
| | | |
| | | @ApiModelProperty(value = "删除标志(0代表存在 1代表删除)") |
| | | @TableField("del_flag") |