//------------------------------------------------------------------------------ // // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. // //------------------------------------------------------------------------------ namespace Neo.Afx.Admin.Security { using System.Web.Script.Serialization; using System; using System.Collections.Generic; public partial class Role { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Role() { this.Users = new HashSet(); this.RoleSecurables = new HashSet(); } public short RoleID { get; set; } public long ApplicationID { get; set; } public string Name { get; set; } public bool IsCancelled { get; set; } public string ConflictingRoleIDs { get; set; } internal virtual Application Application { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [ScriptIgnore] public virtual ICollection Users { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [ScriptIgnore] public virtual ICollection RoleSecurables { get; set; } } }