修改部门表status、delFlag数据类型

This commit is contained in:
不做码农
2023-07-11 19:38:51 +08:00
parent 9ab3a57b08
commit 907a1bd818
11 changed files with 172 additions and 652 deletions

View File

@@ -0,0 +1,31 @@
namespace ZR.Model.System.Dto
{
public class SysDeptQueryDto : PagerInfo
{
public int? Status { get; set; }
public int? DelFlag { get; set; }
public string DeptName { get; set; }
}
public class SysDeptDto : SysBase
{
public long DeptId { get; set; }
public long ParentId { get; set; }
public string Ancestors { get; set; }
public string DeptName { get; set; }
public int OrderNum { get; set; }
public string Leader { get; set; }
public string Phone { get; set; }
public string Email { get; set; }
public int Status { get; set; }
public int DelFlag { get; set; }
}
}

View File

@@ -59,13 +59,13 @@ namespace ZR.Model.System
/// 部门状态:0正常,1停用
/// </summary>
[SugarColumn(Length = 1, DefaultValue = "0")]
public string Status { get; set; }
public int Status { get; set; }
/// <summary>
/// 删除标志0代表存在 2代表删除
/// </summary>
[SugarColumn(Length = 1, DefaultValue = "0")]
public string DelFlag { get; set; }
public int DelFlag { get; set; }
/// <summary>
/// 子菜单