用户管理添加部门机构名称

usertest
cjy 3 months ago
parent 1463d8362f
commit 8923f4c3ef

@ -40,6 +40,15 @@ namespace DS.WMS.Core.Sys.Dtos
/// DeptId
/// </summary>
public long DeptId { get; set; }
/// <summary>
/// 默认机构
/// </summary>
public string DefaultOrgName { get; set; } = "";
/// <summary>
/// 默认部门
/// </summary>
public string DeptName { get; set; } = "";
}
public class OrgList {

@ -2,6 +2,7 @@
using System.ComponentModel.DataAnnotations;
using DS.Module.Core.Extensions;
using FluentValidation;
using SqlSugar;
namespace DS.WMS.Core.Sys.Dtos;
@ -185,6 +186,15 @@ public class UserReq
/// 邮件签名
/// </summary>
public string SignatureHtml { get; set; } = "";
/// <summary>
/// 默认机构
/// </summary>
public string DefaultOrgName { get; set; } = "";
/// <summary>
/// 默认部门
/// </summary>
public string DeptName { get; set; } = "";
}
/// <summary>

@ -204,4 +204,13 @@ public class UserViewModel
/// 是否航线操作人员
/// </summary>
public bool IsLaner { get; set; } = false;
/// <summary>
/// 默认机构
/// </summary>
public string DefaultOrgName { get; set; } = "";
/// <summary>
/// 默认部门
/// </summary>
public string DeptName { get; set; } = "";
}

@ -156,6 +156,16 @@ public class SysUser : UserTenantModel<long>
[Description("默认部门Id")]
public long DeptId { get; set; }
/// <summary>
/// 默认机构
/// </summary>
[SugarColumn(ColumnDescription = "默认机构", Length = 100, IsNullable = true)]
public string DefaultOrgName { get; set; }
/// <summary>
/// 默认部门
/// </summary>
[SugarColumn(ColumnDescription = "默认部门", Length = 100, IsNullable = true)]
public string DeptName { get; set; }
/// <summary>
/// 是否限制客户
/// </summary>

Loading…
Cancel
Save