Example #1
0
 public Variation(int variationDefault, PackageSize packageSize, List <string> attributes, int quantity, ShopStatus status, string code, string name, long price)
 {
     VariationDefault = variationDefault;
     PackageSize      = packageSize;
     Attributes       = attributes;
     Quantity         = quantity;
     Status           = status;
     Code             = code;
     Name             = name;
     Price            = price;
 }
Example #2
0
 public Product(List <Variation> variations, PackageSize packageSize, ShopStatus status, List <string> photos, List <string> categories, int quantity, long price, string code, string description, string name, int industry, string id)
 {
     Variations  = variations;
     PackageSize = packageSize;
     Status      = status;
     Photos      = photos;
     Categories  = categories;
     Quantity    = quantity;
     Price       = price;
     Code        = code;
     Description = description;
     Name        = name;
     Industry    = industry;
     Id          = id;
 }