using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ServicesDAO.models { [Table("role_menu_access")] public class RoleMenuAccess { [Column("idrole")] public int Idrole { get; set; } [Column("idmenu_component")] public int IdmenuComponent { get; set; } [Column("can_view")] public bool? CanView { get; set; } [Column("can_edit")] public bool? CanEdit { get; set; } [Column("can_delete")] public bool? CanDelete { get; set; } [Column("last_modified")] public DateTime? LastModified { get; set; } [Column("created_by")] public int? CreatedBy { get; set; } } }