using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Yavsc.Models.Market { public class Product : BaseProduct { [Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long Id { get; set; } /// /// Weight in gram /// /// public decimal Weight { get; set; } /// /// Height in meter /// /// public decimal Height { get; set; } /// /// Width in meter /// /// public decimal Width { get; set; } public decimal Depth { get; set; } /// /// In euro /// /// public decimal? Price { get; set; } // TODO make use of public Money Money { get; set; } } }