namespace WX.CRM.Model.Entity { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; [Table("UPDEV.BAS_INNERDEPARTMENT")] public partial class BAS_INNERDEPARTMENT { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public BAS_INNERDEPARTMENT() { BAS_INNERGROUP = new HashSet(); BAS_INNERUSERGROUP = new HashSet(); } [Key] public decimal DEPTID { get; set; } [Required] [StringLength(50)] public string DEPTNAME { get; set; } public decimal PARENTID { get; set; } public DateTime? CTIME { get; set; } public decimal? CREATEUSER { get; set; } public DateTime? UTIME { get; set; } public decimal? UPDATEUSER { get; set; } [StringLength(8)] public string INNERDEPTCODE { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection BAS_INNERGROUP { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection BAS_INNERUSERGROUP { get; set; } } }