【role】修改实体的警告

pull/3/head
fengshuonan 2020-12-27 22:31:34 +08:00
parent e316a51efb
commit 0479b679e3
3 changed files with 3 additions and 6 deletions

View File

@ -45,8 +45,7 @@ public class SysRole extends BaseEntity {
/**
*
*/
@TableId(type = IdType.ASSIGN_ID)
@TableField("role_id")
@TableId(value = "role_id", type = IdType.ASSIGN_ID)
private Long roleId;
/**

View File

@ -46,8 +46,7 @@ public class SysRoleDataScope extends BaseEntity {
/**
*
*/
@TableId(type = IdType.ASSIGN_ID)
@TableField("role_data_scope_id")
@TableId(value = "role_data_scope_id", type = IdType.ASSIGN_ID)
private Long roleDataScopeId;
/**

View File

@ -44,8 +44,7 @@ public class SysRoleResource extends BaseEntity {
/**
*
*/
@TableId(type = IdType.ASSIGN_ID)
@TableField("role_resource_id")
@TableId(value = "role_resource_id", type = IdType.ASSIGN_ID)
private Long roleResourceId;
/**