Escali License control 1
PriceElement.cs
Gå til dokumentasjonen til denne filen.
1using System.ComponentModel.DataAnnotations;
2using System.ComponentModel.DataAnnotations.Schema;
3
5{
6
7
8public class PriceElement
9{
10
11 [Key]
12 public int PriceElementSeq { get; set; }
13
14 [Required]
15 [Column(TypeName = "decimal(19,2)")]
16 public decimal? Price { get; set; }
17
18 public bool? IsActive { get; set; }
19
20 [ForeignKey("ModuleLevel")]
21 public int ModuleLevelSeq { get; set; }
22
23 public virtual ModuleLevel ModuleLevel { get; set; }
24
25 [ForeignKey("PriceList")]
26 public int PriceListSeq { get; set; }
27
28 public virtual PriceList PriceList { get; set; }
29
30 }
31}