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

67 lines
2.7 KiB
C#

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WX.CRM.Model.Entity
{
public partial class BAS_PARAMETER
{
[DisplayName("ID")]
[NotMapped]
public decimal map_PKID { get { return this.PKID; } set { this.PKID = value; } }
[DisplayName("参数键")]
[NotMapped]
[Required(ErrorMessage = "参数键不能为空!")]
public string map_PARAKEY { get { return this.PARAKEY; } set { this.PARAKEY = value; } }
[DisplayName("参数名")]
[NotMapped]
[Required(ErrorMessage = "参数名不能为空!")]
public string map_PARANAME { get { return this.PARANAME; } set { this.PARANAME = value; } }
[DisplayName("参数分组")]
[NotMapped]
[Required(ErrorMessage = "分组不能为空!")]
public string map_GROUPID { get { return this.GROUPID; } set { this.GROUPID = value; } }
[DisplayName("参数值")]
[NotMapped]
[Required(ErrorMessage = "参数值不能为空!")]
public string map_PARAVALUE { get { return this.PARAVALUE; } set { this.PARAVALUE = value; } }
[DisplayName("参数类型")]
[NotMapped]
public string map_PARATYPE { get { return this.PARATYPE; } set { this.PARATYPE = value; } }
[DisplayName("备注")]
[NotMapped]
public string map_REMARK { get { return this.REMARK; } set { this.REMARK = value; } }
[DisplayName("创建时间")]
[NotMapped]
public Nullable<System.DateTime> map_CTIME { get { return this.CTIME; } set { this.CTIME = value; } }
[DisplayName("创建人")]
[NotMapped]
public Nullable<decimal> map_CREATEUSER { get { return this.CREATEUSER; } set { this.CREATEUSER = value; } }
[DisplayName("修改时间")]
[NotMapped]
public Nullable<System.DateTime> map_UTIME { get { return this.UTIME; } set { this.UTIME = value; } }
[DisplayName("修改人")]
[NotMapped]
public Nullable<decimal> map_UPDATEUSER { get { return this.UPDATEUSER; } set { this.UPDATEUSER = value; } }
[DisplayName("编辑页面")]
[NotMapped]
public string map_EDITFORM { get { return this.EDITFORM; } set { this.EDITFORM = value; } }
[DisplayName("营业部")]
[NotMapped]
public string map_DEPTCDOE { get { return this.DEPTCDOE; } set { this.DEPTCDOE = value; } }
}
public class BAS_PARAMETER_Extend
{
/// <summary>
/// 分组
/// </summary>
[DisplayName("参数分组")]
public string GroupName { get; set; }
public BAS_PARAMETER parameter { get; set; }
}
}