-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
120 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
namespace EasyHtmlToolkit.Test.Models | ||
{ | ||
public class Product | ||
{ | ||
public string Name { get; set; } | ||
public decimal Price { get; set; } | ||
public string ImageUrl { get; set; } | ||
public string Description { get; set; } | ||
public string Category { get; set; } | ||
public string Manufacturer { get; set; } | ||
public int StockQuantity { get; set; } | ||
public DateTime ManufactureDate { get; set; } | ||
|
||
public Product(string name, decimal price, string imageUrl, string description, string category, string manufacturer, int stockQuantity, DateTime manufactureDate) | ||
{ | ||
Name = name; | ||
Price = price; | ||
ImageUrl = imageUrl; | ||
Description = description; | ||
Category = category; | ||
Manufacturer = manufacturer; | ||
StockQuantity = stockQuantity; | ||
ManufactureDate = manufactureDate; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters