namespace wcftest.orm
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity.Spatial;
|
|
public partial class Sys_Role
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public Sys_Role()
|
{
|
Sys_RoleAuthDataAll = new HashSet<Sys_RoleAuthDataAll>();
|
Sys_Role_IsColumnAuth = new HashSet<Sys_Role_IsColumnAuth>();
|
Sys_Role_IsDataAuth = new HashSet<Sys_Role_IsDataAuth>();
|
Sys_RoleAuth = new HashSet<Sys_RoleAuth>();
|
Sys_RoleAuthData = new HashSet<Sys_RoleAuthData>();
|
}
|
|
[Key]
|
public int Role_Id { get; set; }
|
|
public int ParentId { get; set; }
|
|
[StringLength(50)]
|
public string RoleName { get; set; }
|
|
public int? Consignor_Id { get; set; }
|
|
[StringLength(50)]
|
public string ConsignorCode { get; set; }
|
|
[StringLength(50)]
|
public string ConsignorName { get; set; }
|
|
public int? PlatUser_Id { get; set; }
|
|
[StringLength(50)]
|
public string PlatUserCode { get; set; }
|
|
[StringLength(50)]
|
public string PlatUserName { get; set; }
|
|
[StringLength(50)]
|
public string PlatCorpName { get; set; }
|
|
public int? UserProduct_Id { get; set; }
|
|
[StringLength(50)]
|
public string UserProductCode { get; set; }
|
|
[StringLength(100)]
|
public string UserProductAlias { get; set; }
|
|
public int? Dept_Id { get; set; }
|
|
[StringLength(50)]
|
public string DeptName { get; set; }
|
|
public int? OrderNo { get; set; }
|
|
[StringLength(50)]
|
public string Creator { get; set; }
|
|
public DateTime? CreateDate { get; set; }
|
|
[StringLength(50)]
|
public string Modifier { get; set; }
|
|
public DateTime? ModifyDate { get; set; }
|
|
[StringLength(50)]
|
public string DeleteBy { get; set; }
|
|
public byte? Enable { get; set; }
|
|
public int? Storage_Id { get; set; }
|
|
[StringLength(64)]
|
public string StorageName { get; set; }
|
|
public string ExpandFields { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Sys_RoleAuthDataAll> Sys_RoleAuthDataAll { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Sys_Role_IsColumnAuth> Sys_Role_IsColumnAuth { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Sys_Role_IsDataAuth> Sys_Role_IsDataAuth { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Sys_RoleAuth> Sys_RoleAuth { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Sys_RoleAuthData> Sys_RoleAuthData { get; set; }
|
}
|
}
|