Product.cs 748 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace DutchTreat.Data.Entities
  8. {
  9. public class Product
  10. {
  11. [Key]
  12. public int Id { get; set; }
  13. public string Category { get; set; }
  14. public string Size { get; set; }
  15. public decimal Price { get; set; }
  16. public string Title { get; set; }
  17. public string ArtDescription { get; set; }
  18. public string ArtDating { get; set; }
  19. public string ArtId { get; set; }
  20. public string Artist { get; set; }
  21. public DateTime ArtistBirthDate { get; set; }
  22. public DateTime ArtistDeathDate { get; set; }
  23. public string ArtistNationality { get; set; }
  24. }
  25. }