2025-09-22 17:06:47 +08:00
|
|
|
|
package com.ruoyi.cms.domain;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
2025-09-22 17:06:47 +08:00
|
|
|
|
import com.ruoyi.common.annotation.Excel;
|
|
|
|
|
import com.ruoyi.common.annotation.Excel.ColumnType;
|
|
|
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
2025-09-25 16:30:40 +08:00
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data;
|
2025-09-22 17:06:47 +08:00
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
@ApiModel("业务数据表")
|
|
|
|
|
@TableName(value = "bussiness_dict_data")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
public class BussinessDictData extends BaseEntity
|
|
|
|
|
{
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@TableField(exist = false)
|
2025-09-22 17:06:47 +08:00
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("字典编码")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
@Excel(name = "字典编码", cellType = ColumnType.NUMERIC)
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@TableId(value = "dict_code",type = IdType.AUTO)
|
2025-09-22 17:06:47 +08:00
|
|
|
|
private Long dictCode;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("字典排序")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
@Excel(name = "字典排序", cellType = ColumnType.NUMERIC)
|
|
|
|
|
private Long dictSort;
|
|
|
|
|
|
|
|
|
|
@Excel(name = "字典标签")
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("字典标签")
|
|
|
|
|
@NotBlank(message = "字典标签不能为空")
|
|
|
|
|
@Size(min = 0, max = 100, message = "字典标签长度不能超过100个字符")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
private String dictLabel;
|
|
|
|
|
|
|
|
|
|
@Excel(name = "字典键值")
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("字典键值")
|
|
|
|
|
@NotBlank(message = "字典键值不能为空")
|
|
|
|
|
@Size(min = 0, max = 100, message = "字典键值长度不能超过100个字符")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
private String dictValue;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("字典类型")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
@Excel(name = "字典类型")
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@NotBlank(message = "字典类型不能为空")
|
|
|
|
|
@Size(min = 0, max = 100, message = "字典类型长度不能超过100个字符")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
private String dictType;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("样式属性(其他样式扩展)")
|
|
|
|
|
@Size(min = 0, max = 100, message = "样式属性长度不能超过100个字符")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
private String cssClass;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("表格字典样式")
|
|
|
|
|
@Size(min = 0, max = 100, message = "样式属性长度不能超过100个字符")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
private String listClass;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("是否默认(Y是 N否)")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
@Excel(name = "是否默认", readConverterExp = "Y=是,N=否")
|
|
|
|
|
private String isDefault;
|
|
|
|
|
|
2025-09-25 16:30:40 +08:00
|
|
|
|
@ApiModelProperty("状态 0=正常,1=停用 ")
|
2025-09-22 17:06:47 +08:00
|
|
|
|
@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
|
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
}
|