2025-07-06 16:29:18 +08:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2025-07-08 23:06:19 +08:00
|
|
|
using Microsoft.AspNetCore.Identity;
|
2025-07-06 16:29:18 +08:00
|
|
|
|
2025-07-02 18:27:13 +08:00
|
|
|
namespace AGSS.Models.Entities;
|
|
|
|
|
2025-07-09 13:57:43 +08:00
|
|
|
public class UserModel:IdentityUser<string>
|
2025-07-02 18:27:13 +08:00
|
|
|
{
|
2025-07-08 23:06:19 +08:00
|
|
|
|
2025-07-06 16:29:18 +08:00
|
|
|
public string? Sex { get; set; }
|
|
|
|
[MaxLength(100)]
|
|
|
|
public string? Description { get; set; }
|
|
|
|
[MaxLength(200)]
|
|
|
|
public string? Config { get; set; }
|
|
|
|
[MaxLength(10)]
|
|
|
|
public string? JobCode { get; set; }
|
|
|
|
[MaxLength(10)]
|
|
|
|
public string? JobName { get; set; }
|
|
|
|
[MaxLength(20)]
|
|
|
|
public string? Birthday { get; set; }
|
2025-07-09 23:13:11 +08:00
|
|
|
[MaxLength(500)]
|
|
|
|
public string? MenuCode { get; set; }
|
|
|
|
[MaxLength(500)]
|
|
|
|
public string? MenuName { get; set; }
|
2025-07-02 18:27:13 +08:00
|
|
|
|
2025-07-09 13:57:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public class RoleModel : IdentityRole<string>
|
|
|
|
{
|
|
|
|
|
2025-07-02 18:27:13 +08:00
|
|
|
}
|