upd: 重命名
This commit is contained in:
parent
f6cd5411d4
commit
b12c88cf8d
|
@ -1,6 +1,6 @@
|
|||
package cn.odboy.modules.system.domain;
|
||||
|
||||
import cn.odboy.base.MyEntity;
|
||||
import cn.odboy.base.MyNormalEntity;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
|
@ -22,7 +22,7 @@ import java.util.Set;
|
|||
@Getter
|
||||
@Setter
|
||||
@TableName("system_dept")
|
||||
public class Dept extends MyEntity implements Serializable {
|
||||
public class Dept extends MyNormalEntity implements Serializable {
|
||||
|
||||
@NotNull(groups = Update.class)
|
||||
@TableId(value = "dept_id", type = IdType.AUTO)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package cn.odboy.modules.system.domain;
|
||||
|
||||
import cn.odboy.base.MyEntity;
|
||||
import cn.odboy.base.MyNormalEntity;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
|
@ -19,7 +19,7 @@ import java.util.List;
|
|||
@Getter
|
||||
@Setter
|
||||
@TableName("system_dict")
|
||||
public class Dict extends MyEntity implements Serializable {
|
||||
public class Dict extends MyNormalEntity implements Serializable {
|
||||
|
||||
@NotNull(groups = Update.class)
|
||||
@TableId(value = "dict_id", type = IdType.AUTO)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package cn.odboy.modules.system.domain;
|
||||
|
||||
import cn.odboy.base.MyEntity;
|
||||
import cn.odboy.base.MyNormalEntity;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
|
@ -17,7 +17,7 @@ import java.io.Serializable;
|
|||
@Getter
|
||||
@Setter
|
||||
@TableName("system_dict_detail")
|
||||
public class DictDetail extends MyEntity implements Serializable {
|
||||
public class DictDetail extends MyNormalEntity implements Serializable {
|
||||
|
||||
@NotNull(groups = Update.class)
|
||||
@TableId(value = "detail_id", type = IdType.AUTO)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package cn.odboy.modules.system.domain;
|
||||
|
||||
import cn.odboy.base.MyEntity;
|
||||
import cn.odboy.base.MyNormalEntity;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
@ -18,7 +18,7 @@ import java.util.Objects;
|
|||
@Getter
|
||||
@Setter
|
||||
@TableName("system_job")
|
||||
public class Job extends MyEntity implements Serializable {
|
||||
public class Job extends MyNormalEntity implements Serializable {
|
||||
|
||||
@NotNull(groups = Update.class)
|
||||
@TableId(value = "job_id", type = IdType.AUTO)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package cn.odboy.modules.system.domain;
|
||||
|
||||
import cn.odboy.base.MyEntity;
|
||||
import cn.odboy.base.MyNormalEntity;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Getter;
|
||||
|
@ -18,7 +18,7 @@ import java.util.Set;
|
|||
@Getter
|
||||
@Setter
|
||||
@TableName("system_menu")
|
||||
public class Menu extends MyEntity implements Serializable {
|
||||
public class Menu extends MyNormalEntity implements Serializable {
|
||||
|
||||
@NotNull(groups = {Update.class})
|
||||
@TableId(value = "menu_id", type = IdType.AUTO)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package cn.odboy.modules.system.domain;
|
||||
|
||||
import cn.odboy.base.MyEntity;
|
||||
import cn.odboy.base.MyNormalEntity;
|
||||
import cn.odboy.constant.DataScopeEnum;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
|
@ -21,7 +21,7 @@ import java.util.Set;
|
|||
@Getter
|
||||
@Setter
|
||||
@TableName("system_role")
|
||||
public class Role extends MyEntity implements Serializable {
|
||||
public class Role extends MyNormalEntity implements Serializable {
|
||||
|
||||
@NotNull(groups = {Update.class})
|
||||
@TableId(value = "role_id", type = IdType.AUTO)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package cn.odboy.modules.system.domain;
|
||||
|
||||
import cn.odboy.base.MyEntity;
|
||||
import cn.odboy.base.MyNormalEntity;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
|
@ -22,7 +22,7 @@ import java.util.Set;
|
|||
@Getter
|
||||
@Setter
|
||||
@TableName("system_user")
|
||||
public class User extends MyEntity implements Serializable {
|
||||
public class User extends MyNormalEntity implements Serializable {
|
||||
|
||||
@NotNull(groups = Update.class)
|
||||
@TableId(value = "user_id", type = IdType.AUTO)
|
||||
|
|
Loading…
Reference in New Issue