using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ServicesDAO.models { [Table("menu_component")] public class MenuComponent { [Key] [Column("idmenu_component")] public int IdmenuComponent { get; set; } [Column("component_name")] public string ComponentName { get; set; } [Column("path")] public string Path { get; set; } [Column("description")] public string? Description { get; set; } [Column("icon")] public string? Icon { get; set; } [Column("parent_id")] public int? ParentId { get; set; } [Column("order_visible")] public int OrderVisible { get; set; } [Column("visible")] public bool? Visible { get; set; } [Column("active")] public bool? Active { get; set; } } }