ComplianceServer/oldcode/Model/MAP/BAS_ROLE.cs

22 lines
815 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;
namespace WX.CRM.Model.Entity
{
public partial class BAS_ROLE
{
[DisplayName("角色名称")]
[NotMapped]
public string map_RNAME { get { return this.RNAME; } set { this.RNAME = value; } }
[DisplayName("排序")]
[NotMapped]
public decimal map_SORTID { get { return this.SORTID; } set { this.SORTID = value; } }
[DisplayName("代码")]
[NotMapped]
[RegularExpression("^[0-9A-Za-z]{2,10}$", ErrorMessage = "2~10")]
[Required(ErrorMessage = "代码不能为空!")]
public string map_CODE { get { return this.CODE; } set { this.CODE = value; } }
}
}