Escali License control 1
Region.cs
Gå til dokumentasjonen til denne filen.
1using System.ComponentModel.DataAnnotations;
2using System.ComponentModel.DataAnnotations.Schema;
3
5{
6 public class Region
7 {
8 [Key]
9 public int RegionSeq { get; set; }
10
11 [Required]
12 [MaxLength(50)]
13 public string Country { get; set; }
14
15 [MaxLength(50)]
16 public string? Area { get; set; }
17 }
18}