Exemplo n.º 1
0
 //CONSTRUCTORS
 public FeedbackData(ProductInfoData product, string manufacturer, MemberData user, string comment)
 {
     this.product      = product;
     this.productID    = product.productID;
     this.manufacturer = manufacturer;
     this.user         = user;
     this.userName     = user.userName;
     this.comment      = comment;
 }
Exemplo n.º 2
0
        //CONSTRUCTORS
        public ProductData(ProductInfoData productData, int amount, double price, string storeName, Guid id)
        {
            this.productData = productData;

            this.amount    = amount;
            this.price     = price;
            this.storeName = storeName;
            this.id        = id;
        }
Exemplo n.º 3
0
 public bool Equals(ProductInfoData other)
 {
     return(this.productName.Equals(other.productName) & this.category.Equals(other.category)
            & this.manufacturer.Equals(other.manufacturer) & this.productID.Equals(other.productID));
 }