using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace WX.CRM.Model.Entity { public partial class BAS_INNERGROUP { [DisplayName("所属营业部")] [NotMapped] public decimal? map_SALEDEPTID { get { return this.SALEDEPTID; } set { this.SALEDEPTID = value; } } [DisplayName("所属部门")] [NotMapped] public decimal? map_DEPTID { get { return this.DEPTID; } set { this.DEPTID = value; } } [DisplayName("组名称")] [NotMapped] public string map_GNAME { get { return this.GNAME; } set { this.GNAME = value; } } [DisplayName("是否隐藏")] [NotMapped] public short? map_ISHIDE { get { return this.ISHIDE; } set { this.ISHIDE = value; } } [DisplayName("是否销售组")] [NotMapped] public short? map_ISSALEDEPT { get { return this.ISSALEDEPT; } set { this.ISSALEDEPT = value; } } } [Serializable] public class SysSalesGroup { #region Model private int _pkid; private string _name; private string _deptcode; private int? _officer; private DateTime? _creationdate; private int? _creationby; private int _id; private int? _officereid; /// /// /// public int pkid { set { _pkid = value; } get { return _pkid; } } /// /// 组名 /// public string name { set { _name = value; } get { return _name; } } /// /// 部门 /// public string deptCode { set { _deptcode = value; } get { return _deptcode; } } /// /// 组长 /// public int? officer { set { _officer = value; } get { return _officer; } } /// /// /// public DateTime? creationDate { set { _creationdate = value; } get { return _creationdate; } } /// /// /// public int? creationBy { set { _creationby = value; } get { return _creationby; } } /// /// /// public int id { set { _id = value; } get { return _id; } } /// /// /// public int? officerEid { set { _officereid = value; } get { return _officereid; } } #endregion Model } }