增加管理员字段

This commit is contained in:
pangwenpeng 2024-05-29 10:57:37 +08:00
parent 0f9ab916fa
commit d4ac85c525
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ namespace langguanApi.Model.Entity
/// 手机号
/// </summary>
public string Phone { get; set; }
//是否管理员 0表示不是管理员 1表示管理员
public byte IsAdmin { get; set; }
}
/// <summary>
/// 添加用户DTO