upd: 重命名

This commit is contained in:
骑着蜗牛追导弹 2024-12-06 21:12:12 +08:00
parent f6cd5411d4
commit b12c88cf8d
7 changed files with 14 additions and 14 deletions

View File

@ -1,6 +1,6 @@
package cn.odboy.modules.system.domain; package cn.odboy.modules.system.domain;
import cn.odboy.base.MyEntity; import cn.odboy.base.MyNormalEntity;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
@ -22,7 +22,7 @@ import java.util.Set;
@Getter @Getter
@Setter @Setter
@TableName("system_dept") @TableName("system_dept")
public class Dept extends MyEntity implements Serializable { public class Dept extends MyNormalEntity implements Serializable {
@NotNull(groups = Update.class) @NotNull(groups = Update.class)
@TableId(value = "dept_id", type = IdType.AUTO) @TableId(value = "dept_id", type = IdType.AUTO)

View File

@ -1,6 +1,6 @@
package cn.odboy.modules.system.domain; 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.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
@ -19,7 +19,7 @@ import java.util.List;
@Getter @Getter
@Setter @Setter
@TableName("system_dict") @TableName("system_dict")
public class Dict extends MyEntity implements Serializable { public class Dict extends MyNormalEntity implements Serializable {
@NotNull(groups = Update.class) @NotNull(groups = Update.class)
@TableId(value = "dict_id", type = IdType.AUTO) @TableId(value = "dict_id", type = IdType.AUTO)

View File

@ -1,6 +1,6 @@
package cn.odboy.modules.system.domain; 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.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
@ -17,7 +17,7 @@ import java.io.Serializable;
@Getter @Getter
@Setter @Setter
@TableName("system_dict_detail") @TableName("system_dict_detail")
public class DictDetail extends MyEntity implements Serializable { public class DictDetail extends MyNormalEntity implements Serializable {
@NotNull(groups = Update.class) @NotNull(groups = Update.class)
@TableId(value = "detail_id", type = IdType.AUTO) @TableId(value = "detail_id", type = IdType.AUTO)

View File

@ -1,6 +1,6 @@
package cn.odboy.modules.system.domain; 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.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
@ -18,7 +18,7 @@ import java.util.Objects;
@Getter @Getter
@Setter @Setter
@TableName("system_job") @TableName("system_job")
public class Job extends MyEntity implements Serializable { public class Job extends MyNormalEntity implements Serializable {
@NotNull(groups = Update.class) @NotNull(groups = Update.class)
@TableId(value = "job_id", type = IdType.AUTO) @TableId(value = "job_id", type = IdType.AUTO)

View File

@ -1,6 +1,6 @@
package cn.odboy.modules.system.domain; package cn.odboy.modules.system.domain;
import cn.odboy.base.MyEntity; import cn.odboy.base.MyNormalEntity;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter; import lombok.Getter;
@ -18,7 +18,7 @@ import java.util.Set;
@Getter @Getter
@Setter @Setter
@TableName("system_menu") @TableName("system_menu")
public class Menu extends MyEntity implements Serializable { public class Menu extends MyNormalEntity implements Serializable {
@NotNull(groups = {Update.class}) @NotNull(groups = {Update.class})
@TableId(value = "menu_id", type = IdType.AUTO) @TableId(value = "menu_id", type = IdType.AUTO)

View File

@ -1,6 +1,6 @@
package cn.odboy.modules.system.domain; package cn.odboy.modules.system.domain;
import cn.odboy.base.MyEntity; import cn.odboy.base.MyNormalEntity;
import cn.odboy.constant.DataScopeEnum; import cn.odboy.constant.DataScopeEnum;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
@ -21,7 +21,7 @@ import java.util.Set;
@Getter @Getter
@Setter @Setter
@TableName("system_role") @TableName("system_role")
public class Role extends MyEntity implements Serializable { public class Role extends MyNormalEntity implements Serializable {
@NotNull(groups = {Update.class}) @NotNull(groups = {Update.class})
@TableId(value = "role_id", type = IdType.AUTO) @TableId(value = "role_id", type = IdType.AUTO)

View File

@ -1,6 +1,6 @@
package cn.odboy.modules.system.domain; 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.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
@ -22,7 +22,7 @@ import java.util.Set;
@Getter @Getter
@Setter @Setter
@TableName("system_user") @TableName("system_user")
public class User extends MyEntity implements Serializable { public class User extends MyNormalEntity implements Serializable {
@NotNull(groups = Update.class) @NotNull(groups = Update.class)
@TableId(value = "user_id", type = IdType.AUTO) @TableId(value = "user_id", type = IdType.AUTO)