using System; using System.Linq; using System.Text; using SqlSugar; namespace JiepeiWMS.Model.Models { /// ///主体表 /// [SugarTable("SysOrg", "Jiepei_WMS")] public class SysOrg { public SysOrg() { } /// /// 主体ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 简称 /// public string ShortName { get; set; } /// /// 名称 /// public string CompanyName { get; set; } /// /// 主体类型 0 集团 1 集团下公司 2外部单位 /// public int OrgType { get; set; } /// /// 创建时间 /// public DateTime? CreateTime { get; set; } /// /// 当前用户 /// public int? UserId { get; set; } /// /// 用户名称 /// [SugarColumn(IsIgnore = true)] public string UserRealName { get; set; } /// /// /// [SugarColumn(IsIgnore = true)] public string OrgTypeName { get; set; } } }