using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ServicesDAO.models { [Table("role")] public class Role { [Key] [Column("idrole")] public int Idrole { get; set; } [Column("idorganization")] public int Idorganization { get; set; } [Column("role_name")] public string RoleName { get; set; } [Column("description")] public string? Description { get; set; } [Column("last_modified")] public DateTime? LastModified { get; set; } [Column("created_by")] public int? CreatedBy { get; set; } [Column("active")] public bool Active { get; set; } } }