24 lines
896 B
C#
24 lines
896 B
C#
using System.ComponentModel;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
using WX.CRM.Common.MvcValidation;
|
||
|
||
namespace WX.CRM.Model.Entity
|
||
{
|
||
public partial class BAS_INNERDEPARTMENT
|
||
{
|
||
[DisplayName("部门名称")]
|
||
[NotMapped]
|
||
public string map_DEPTNAME { get { return this.DEPTNAME; } set { this.DEPTNAME = value; } }
|
||
[DisplayName("上级部门")]
|
||
[NotMapped]
|
||
[NoInput("[-1]", ErrorMessage = "不能选中自己或者子集作为父级!")]
|
||
public decimal map_PARENTID { get { return this.PARENTID; } set { this.PARENTID = value; } }
|
||
|
||
[DisplayName("部门编码")]
|
||
[Required(ErrorMessage = "编码不能为空!")]
|
||
[NotMapped]
|
||
public string map_INNERDEPTCODE { get { return this.INNERDEPTCODE; } set { this.INNERDEPTCODE = value; } }
|
||
}
|
||
}
|