|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
|
|
*/
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
using VOL.Entity.SystemModels;
|
|
|
|
|
|
namespace VOL.Entity.DomainModels
|
|
|
{
|
|
|
[Entity(TableCnName = "个人列表设置",TableName = "Sys_USERCOLUMNSET")]
|
|
|
public class Sys_USERCOLUMNSET:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="GID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid GID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Menu_Id")]
|
|
|
[Column(TypeName="int")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public int Menu_Id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ColumnId")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? ColumnId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="USERID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid USERID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///列名
|
|
|
/// </summary>
|
|
|
[Display(Name ="列名")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string ColumnCNName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///列名
|
|
|
/// </summary>
|
|
|
[Display(Name = "English Title")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(200)")]
|
|
|
public string ColumnENName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///显示顺序
|
|
|
/// </summary>
|
|
|
[Display(Name ="显示顺序")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? OrderNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///列宽
|
|
|
/// </summary>
|
|
|
[Display(Name ="列宽")]
|
|
|
[Column(TypeName="int")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public int ColumnWidth { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///能否排序
|
|
|
/// </summary>
|
|
|
[Display(Name ="能否排序")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? SORTABLE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否隐藏
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否隐藏")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public bool HIDDEN { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///固定前段
|
|
|
/// </summary>
|
|
|
[Display(Name ="固定前段")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? FIXED { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="FieldName")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string FieldName { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |