Escali License control 1
Priority.cs
Gå til dokumentasjonen til denne filen.
1using System.ComponentModel.DataAnnotations;
2using System.ComponentModel.DataAnnotations.Schema;
3
5{
6 public class Priority
7 {
8 public enum PriorityLevel
9 {
10 SILVER,
11 GOLD,
12 PLATINUM
13 }
14
15 [Key]
16 public int PrioritySeq { get; set; }
17
18 [Required]
19 public PriorityLevel? PriorityName { get; set; }
20
21 }
22}