using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InSituLaboratory.Entities { public class SysRole { [Key] [Column("role_id")] public int RoleId { get; set; } [Column("role_name")] public string RoleName { get; set; } [Column("role_desc")] public string? RoleDesc { get; set; } [Column("state")] public int State { get; set; } [NotMapped] public List Users { get; set; } [NotMapped] public List Menus { get; set; } } }