luolan ca93d49780 重构用户控制器并引入身份验证服务
- 移除 `UserInfoController`,新增 `UserControllers` 使用 `UserService`
- 添加 `UserService` 用于处理用户信息
- 新增 `UserProfile` DTO
- 添加数据库迁移以支持用户表结构
2025-07-08 23:06:19 +08:00

21 lines
512 B
C#

using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;
namespace AGSS.Models.Entities;
public class UserModel:IdentityUser
{
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; }
}