提交登录修改
This commit is contained in:
+9
@@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@TableName("users")
|
||||
public class AdminUserEntity {
|
||||
@@ -13,7 +15,14 @@ public class AdminUserEntity {
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
private String username;
|
||||
@TableField("password_hash")
|
||||
private String passwordHash;
|
||||
@TableField("is_admin")
|
||||
private Integer isAdmin;
|
||||
private String role;
|
||||
@TableField("created_by_id")
|
||||
private Long createdById;
|
||||
@TableField("created_at")
|
||||
private LocalDateTime createdAt;
|
||||
private String machine;
|
||||
}
|
||||
|
||||
+6
@@ -1,5 +1,6 @@
|
||||
package com.nanri.aiimage.modules.permission.model.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
@@ -9,9 +10,14 @@ public class PermissionMenuItemVo {
|
||||
|
||||
private Long id;
|
||||
private String name;
|
||||
@JsonProperty("column_key")
|
||||
private String columnKey;
|
||||
@JsonProperty("menu_type")
|
||||
private String menuType;
|
||||
@JsonProperty("route_path")
|
||||
private String routePath;
|
||||
@JsonProperty("sort_order")
|
||||
private Integer sortOrder;
|
||||
@JsonProperty("created_at")
|
||||
private LocalDateTime createdAt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user