Escali License control 1
PriceListClientModelInput.cs
Gå til dokumentasjonen til denne filen.
1using System.ComponentModel;
2using System.ComponentModel.DataAnnotations;
3using System.ComponentModel.DataAnnotations.Schema;
4
6{
7
9{
10
11 public int? PriceListSeq { get; set; }
12
13 [Required(ErrorMessage = "Obligatorisk felt")]
14 [MaxLength(30)]
15 public string PriceListName { get; set; }
16
17 [Required(ErrorMessage = "Obligatorisk felt")]
18 public DateTime DateFrom { get; set; }
19
20 [Required(ErrorMessage = "Obligatorisk felt")]
21 public DateTime DateTo { get; set; }
22
23 public bool? IsActive { get; set; }
24
25 public int? CurrencySeq { get; set; }
26 [ValidateComplexType]
27 public CurrencyClientModel Currency { get; set; }
28
29 public int ProductSeq { get; set; }
30 public ProductClientModel? Product { get; set; }
31
32 public List<PriceElementClientModel>? PriceElements { get; set; }
33
34 [Required(ErrorMessage = "Prisliste for utgangspunkt er obligatorisk")]
35 public int? PriceListToCopy { get; set; }
36
37 [Required, DefaultValue(null), Range(1.00, 10.00)]
38 public decimal? PriceAdjustmentFactor { get; set; }
39
40 }
41}