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/System/Sys_RoleAuth.cs

87 lines
2.0 KiB
C#

using VOL.Entity.SystemModels;
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;
namespace VOL.Entity.DomainModels
{
[Table("Sys_RoleAuth_Core")]
public class Sys_RoleAuth: BaseEntity
{
/// <summary>
///
/// </summary>
[Key]
[Display(Name ="")]
[Required(AllowEmptyStrings=false)]
public int Auth_Id { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="")]
[Column(TypeName="nvarchar(50)")]
public string Role_Id { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="")]
[Column(TypeName = "nvarchar(50)")]
public string User_Id { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="")]
[Column(TypeName="int")]
[Required(AllowEmptyStrings=false)]
public int Menu_Id { get; set; }
/// <summary>
///用户权限
/// </summary>
[Display(Name ="用户权限")]
[MaxLength(1000)]
[Column(TypeName="nvarchar(1000)")]
[Required(AllowEmptyStrings=false)]
public string AuthValue { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="")]
[MaxLength(100)]
[Column(TypeName="nvarchar(1000)")]
public string Creator { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="")]
[Column(TypeName="datetime")]
public DateTime? CreateDate { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="")]
[MaxLength(100)]
[Column(TypeName="nvarchar(1000)")]
public string Modifier { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="")]
[Column(TypeName="datetime")]
public DateTime? ModifyDate { get; set; }
}
}