字典配置
This commit is contained in:
72
src/main/java/com/rj/entity/DictItem.java
Normal file
72
src/main/java/com/rj/entity/DictItem.java
Normal file
@@ -0,0 +1,72 @@
|
||||
package com.rj.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 字典项/配置项(表 dict_item)
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("dict_item")
|
||||
@Schema(description = "字典项/配置项(dict_item)")
|
||||
public class DictItem implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "主键ID(UUID)")
|
||||
@TableId("id")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "租户ID(UUID)")
|
||||
@TableField("tenant_id")
|
||||
private String tenantId;
|
||||
|
||||
@Schema(description = "名称")
|
||||
@TableField("name")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "值")
|
||||
@TableField("value")
|
||||
private String value;
|
||||
|
||||
@Schema(description = "类型")
|
||||
@TableField("type")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "范围/适用范围")
|
||||
@TableField("value_range")
|
||||
private String valueRange;
|
||||
|
||||
@Schema(description = "所属微服务/服务标识")
|
||||
@TableField("micro_service")
|
||||
private String microService;
|
||||
|
||||
@Schema(description = "描述说明")
|
||||
@TableField("description")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "创建人")
|
||||
@TableField("created_by")
|
||||
private String createdBy;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@TableField("created_time")
|
||||
private LocalDateTime createdTime;
|
||||
|
||||
@Schema(description = "更新人")
|
||||
@TableField("updated_by")
|
||||
private String updatedBy;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
@TableField("updated_time")
|
||||
private LocalDateTime updatedTime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user