:card_file_box:SysUser表新增字段

This commit is contained in:
不做码农
2023-09-27 18:37:44 +08:00
parent d0158f0eef
commit eca2d2fd73
4 changed files with 24 additions and 25 deletions
+1
View File
@@ -30,5 +30,6 @@ namespace ZR.Model.System.Dto
/// 头像
/// </summary>
public string Photo { get; set; }
public string UserIP { get; set; }
}
}
+2 -5
View File
@@ -1,8 +1,4 @@
using MiniExcelLibs.Attributes;
using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
namespace ZR.Model.System
{
@@ -82,7 +78,8 @@ namespace ZR.Model.System
/// </summary>
[SugarColumn(DefaultValue = "0")]
public long DeptId { get; set; }
public string Province { get; set; }
public string City { get; set; }
#region 表额外字段
public bool IsAdmin()
{