123456789101112131415161718192021222324 |
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace API.DBModel
- {
- [Table("ProductInShopList")]
- public class ProductInShopList
- {
- [Key]
- public int Id { get; set; }
- [ForeignKey("FK_ProductInShopList_shopping_lists")]
- public int id_shop_list { get; set; }
- [ForeignKey("FK_ProductInShopList_shopping_list_items")]
- public int id_product { get; set; }
- public double quantity { get; set; }
- public bool completed { get; set; }
- }
- }
|