127 lines
2.9 KiB
C#
127 lines
2.9 KiB
C#
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;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int pkid
|
|
{
|
|
set { _pkid = value; }
|
|
get { return _pkid; }
|
|
}
|
|
/// <summary>
|
|
/// 组名
|
|
/// </summary>
|
|
public string name
|
|
{
|
|
set { _name = value; }
|
|
get { return _name; }
|
|
}
|
|
/// <summary>
|
|
/// 部门
|
|
/// </summary>
|
|
public string deptCode
|
|
{
|
|
set { _deptcode = value; }
|
|
get { return _deptcode; }
|
|
}
|
|
/// <summary>
|
|
/// 组长
|
|
/// </summary>
|
|
public int? officer
|
|
{
|
|
set { _officer = value; }
|
|
get { return _officer; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public DateTime? creationDate
|
|
{
|
|
set { _creationdate = value; }
|
|
get { return _creationdate; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int? creationBy
|
|
{
|
|
set { _creationby = value; }
|
|
get { return _creationby; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int id
|
|
{
|
|
set { _id = value; }
|
|
get { return _id; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int? officerEid
|
|
{
|
|
set { _officereid = value; }
|
|
get { return _officereid; }
|
|
}
|
|
|
|
#endregion Model
|
|
}
|
|
}
|