45 lines
1.5 KiB
C#
45 lines
1.5 KiB
C#
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_INNERGROUP>();
|
|
BAS_INNERUSERGROUP = new HashSet<BAS_INNERUSERGROUP>();
|
|
}
|
|
|
|
[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> BAS_INNERGROUP { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BAS_INNERUSERGROUP> BAS_INNERUSERGROUP { get; set; }
|
|
}
|
|
}
|