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.

115 lines
2.6 KiB
C#

11 months ago
using System.ComponentModel;
using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Sys.Entity;
11 months ago
/// <summary>
/// 组织机构表
/// </summary>
[SqlSugar.SugarTable("sys_org")]
public class SysOrg: BaseTenantModel<long>
{
/// <summary>
///上级ID
/// </summary>
public long ParentId { get; set; }
/// <summary>
/// 机构名称 -简称
11 months ago
/// </summary>
public string OrgName { get; set; }
11 months ago
/// <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;
/// <summary>
/// 机构名称 -全称
/// </summary>
public string OrgFullName { get; set; }
/// <summary>
/// 机构英文名称
/// </summary>
public string OrgEnName { get; set; }
/// <summary>
/// 地址
/// </summary>
public string Address { get; set; }
/// <summary>
/// 英文地址
/// </summary>
public string EnAddress { get; set; }
/// <summary>
/// 邮政编码
/// </summary>
public string PostCode { get; set; }
/// <summary>
/// 办公电话
/// </summary>
public string OfficePhone { get; set; }
/// <summary>
/// 电子邮箱
/// </summary>
public string Email { get; set; }
/// <summary>
/// 公司网址
/// </summary>
public string WebSiteUrl { get; set; }
/// <summary>
/// 社会信用代码
/// </summary>
public string LicenseCode { get; set; }
/// <summary>
/// 票号头字符
/// </summary>
public string BanksHead { get; set; }
/// <summary>
/// 本地货币
/// </summary>
public string LocalCurrency { get; set; }
/// <summary>
/// 是否结算机构
/// </summary>
[Description("是否结算机构")]
public bool IsSettlementOrg { get; set; } = false;
//[SqlSugar.SugarColumn(IsIgnore = true)]
//public List<SysOrg> Child { get; set; }
11 months ago
}