package cc.mrbird.febs.common.core.entity.system;
|
|
import cc.mrbird.febs.common.core.annotation.FieldInfo;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.Version;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
|
/**
|
* name:Dicitem
|
* package:cc.mrbird.febs.server.system.controller
|
* description:数据字典项数据表映射实体
|
*
|
* @author luoyibo
|
* @date 2021-02-02 11:29:37
|
* @since JDK1.8
|
*/
|
@Data
|
@TableName("t_dicitem")
|
public class DicItem implements Serializable {
|
private static final long serialVersionUID = 8030932514131869344L;
|
@FieldInfo(name = "dicItemId", type = "bigint", explain = "字典项Id")
|
@TableId(value = "dicItemId")
|
private Long dicItemId = 0L;
|
|
@FieldInfo(name = "dicItemName", type = "varchar", explain = "字典项名称")
|
@TableField("dicItemName")
|
private String dicItemName = "";
|
|
@FieldInfo(name = "dicItemCode", type = "varchar", explain = "字典项代码")
|
@TableField("dicItemCode")
|
private String dicItemCode = "";
|
|
@FieldInfo(name = "dicItemDescribe", type = "varchar", explain = "字典项说明")
|
@TableField("dicItemDescribe")
|
private String dicItemDescribe = "";
|
|
@FieldInfo(name = "orderIndex", type = "int", explain = "排序号")
|
@TableField("orderIndex")
|
private Integer orderIndex = 0;
|
|
@FieldInfo(name = "dicId", type = "bigint", explain = "字典Id")
|
@TableField("dicId")
|
private Long dicId = 0L;
|
|
@FieldInfo(name = "dicCode", type = "varchar", explain = "字典代码")
|
@TableField("dicCode")
|
private String dicCode = "";
|
|
//@FieldInfo(name = "delFlag", type = "bit", explain = "记录删除标志。0-未删除 1-已删除,默认0")
|
@TableField("delFlag")
|
private Integer delFlag = 0;
|
|
@TableField("version")
|
@Version
|
private Integer version = 0;
|
|
}
|