77 lines
2.3 KiB
C#
77 lines
2.3 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_SALESDEPARTMENT")]
|
||
public partial class BAS_SALESDEPARTMENT
|
||
{
|
||
//[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||
//public BAS_SALESDEPARTMENT()
|
||
//{
|
||
// BAS_INNERGROUP = new HashSet<BAS_INNERGROUP>();
|
||
//}
|
||
|
||
[Key]
|
||
public decimal SALEDEPTID { get; set; }
|
||
|
||
public decimal? COMPANYID { get; set; }
|
||
|
||
[Required]
|
||
public string SALEDEPTCODE { get; set; }
|
||
|
||
[Required]
|
||
public string DEPTNAME { get; set; }
|
||
|
||
public string ADDRESS { get; set; }
|
||
|
||
public string LINKNAME { get; set; }
|
||
|
||
public string AREACODE { get; set; }
|
||
|
||
public string PHONE { get; set; }
|
||
|
||
public DateTime? CREATIONDATE { get; set; }
|
||
|
||
public decimal? CREATIONBY { get; set; }
|
||
|
||
public DateTime? UPDATEDATE { get; set; }
|
||
|
||
public decimal? UPDATEBY { get; set; }
|
||
|
||
public decimal? CHANNELMIN { get; set; }
|
||
public decimal? CHANNELMAX { get; set; }
|
||
public decimal? CHANNELDEF { get; set; }
|
||
|
||
/// <summary>
|
||
/// 员工系统:对应的部门ID
|
||
/// </summary>
|
||
public decimal? DEPARTMENT_ID { get; set; }
|
||
/// <summary>
|
||
/// 员工系统:对应的部门编码
|
||
/// </summary>
|
||
public string DEPARTMENT_CODE { get; set; }
|
||
/// <summary>
|
||
/// 员工系统:是否为业务部门, 1为业务部门,0为其他部门
|
||
/// </summary>
|
||
public decimal? IS_PROFESSION { get; set; }
|
||
/// <summary>
|
||
/// 员工系统:部门的父ID
|
||
/// </summary>
|
||
public decimal? DEPARTMENT_PARENTID { get; set; }
|
||
/// <summary>
|
||
/// 员工系统:是否勾选1:是 0:否
|
||
/// </summary>
|
||
public decimal? ISCHECK { get; set; }
|
||
public decimal? DEPARTMENT_SORT { get; set; }
|
||
public decimal? IS_DELETED { get; set; }
|
||
|
||
//public virtual BAS_COMPANY BAS_COMPANY { get; set; }
|
||
|
||
//[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||
//public virtual ICollection<BAS_INNERGROUP> BAS_INNERGROUP { get; set; }
|
||
}
|
||
}
|