/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此Model */ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using VOL.Entity.SystemModels; namespace VOL.Entity.DomainModels { [Entity(TableCnName = "跨系统部门关联",TableName = "HR_DeptShip")] public partial class HR_DeptShip:BaseEntity { /// ///关联关系ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] [Key] [Display(Name ="关联关系ID")] [Column(TypeName="int")] [Editable(true)] [Required(AllowEmptyStrings=false)] public int ShipId { get; set; } /// ///YSERP部门 /// [Display(Name ="YSERP部门")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Editable(true)] public string YSDeptId { get; set; } /// ///YS部门名称 /// [Display(Name ="YS部门名称")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string YSDeptName { get; set; } /// ///钉钉部门 /// [Display(Name ="钉钉部门")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Editable(true)] public string DingTalkDeptId { get; set; } /// ///钉钉部门名称 /// [Display(Name ="钉钉部门名称")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string DingTalkDeptName { get; set; } /// ///根节点 /// [Display(Name ="根节点")] [Column(TypeName="bool")] [Editable(true)] public bool? IsRoot { get; set; } } }