TG.WXCRM.V4/Model/MAP/BAS_INNERDEPARTMENT.cs

24 lines
896 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; } }
}
}