internal Good(GoodEntity goodEntity) { Name = goodEntity.Name; Price = goodEntity.Price; Type = new GoodType(goodEntity.Type); }
public Good(string name, decimal price, GoodType type) : this(name, price) { Type = type; }
public PurchaseItem(string name, decimal price, string type, int amount) : this(name, price, amount) { Type = new GoodType(type); }
public Good(string name, decimal price, string type) : this(name, price) { Type = new GoodType(type); }
public PurchaseItem(string name, decimal price, GoodType type, int amount) : this(name, price, amount) { Type = type; }