文档库--字段添加注解
This commit is contained in:
+3
-1
@@ -1,6 +1,7 @@
|
||||
package com.jero.modules.system.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
@@ -23,7 +24,7 @@ import java.io.Serializable;
|
||||
@TableName("sys_category")
|
||||
public class SysCategory implements Serializable,Comparable<SysCategory>{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private java.lang.String id;
|
||||
@@ -100,6 +101,7 @@ public class SysCategory implements Serializable,Comparable<SysCategory>{
|
||||
public Integer delFlag;
|
||||
|
||||
@Excel(name = "字典项值", width = 30)
|
||||
@TableField(exist = false)
|
||||
private java.lang.String itemValue;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user