You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DSWMS/Vue.Net/VOL.Entity/DomainModels/UserColumnSet/Sys_USERCOLUMNSET.cs

114 lines
2.9 KiB
C#

2 years ago
/*
*,
*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; }
}
}