-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMenu.cs
37 lines (28 loc) · 843 Bytes
/
Menu.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Model.Models
{
public partial class Menu
{
[Key]
public int Id { get; set; }
public int? RootId { get; set; }
[Required]
[StringLength(50)]
public string Heading { get; set; }
[StringLength(150)]
public string Url { get; set; }
public bool IsRoot { get; set; }
public int Sequence { get; set; }
[Column(TypeName = "datetime")]
public DateTime CreatedDate { get; set; }
[Column(TypeName = "datetime")]
public DateTime? UpdatedDate { get; set; }
public bool IsActive { get; set; }
public bool IsDeleted { get; set; }
public virtual Menu Root { get; set; }
public virtual ICollection<MenuAuthorization> MenuAuthorizations { get; set; }
}
}