You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB
C#

using System.ComponentModel;
using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Sys.Entity;
/// <summary>
/// 组织机构表
/// </summary>
[SqlSugar.SugarTable("sys_org")]
public class SysOrg: BaseTenantModel<long>
{
/// <summary>
///上级ID
/// </summary>
public long ParentId { get; set; }
/// <summary>
/// 机构名称
/// </summary>
public string OrgName { get; set; }
/// <summary>
/// Desc:负责人
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(IsNullable = true)]
public string Leader { get; set; }
/// <summary>
/// 电话
/// </summary>
[SugarColumn(IsNullable = true)]
public string Tel { get; set; }
/// <summary>
/// 排序
/// </summary>
[SugarColumn(ColumnDescription = "排序")]
public int? OrderNo { get; set; } = 100;
/// <summary>
/// 是否部门标识
/// </summary>
[Description("是否部门标识")]
public bool IsDepartment { get; set; } = false;
/// <summary>
/// 状态
/// </summary>
[SugarColumn(ColumnDescription = "状态")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}