Escali License control 1
PriceListClientModel.cs
Gå til dokumentasjonen til denne filen.
1using System.ComponentModel.DataAnnotations;
2using System.ComponentModel.DataAnnotations.Schema;
3
5{
6
8{
9
10 public int? PriceListSeq { get; set; }
11
12 [Required(ErrorMessage = "Obligatorisk felt")]
13 [MaxLength(30)]
14 public string PriceListName { get; set; }
15
16 [Required(ErrorMessage = "Obligatorisk felt")]
17 public DateTime DateFrom { get; set; }
18
19 [Required(ErrorMessage = "Obligatorisk felt")]
20 public DateTime DateTo { get; set; }
21
22 public bool? IsActive { get; set; }
23
24 public int? CurrencySeq { get; set; }
25 [ValidateComplexType]
26 public CurrencyClientModel Currency { get; set; } = new();
27
28 public int ProductSeq { get; set; }
29 public ProductClientModel? Product { get; set; }
30
31 public List<PriceElementClientModel>? PriceElements { get; set; }
32
33
34
35 }
36}