Start work for proper database file storage

This commit is contained in:
2025-06-27 23:10:02 -07:00
parent c493513847
commit 8151567be2
4 changed files with 72 additions and 31 deletions
@@ -25,11 +25,17 @@ namespace MistoxWebsite.Server.Entities {
public string Name { get; set; } = "";
public string Description { get; set; } = "";
public int CurShowingIMG = 0;
public string[] Images { get; set; } = new string[0];
public FormFile[] Images { get; set; } = [];
public int Cost { get; set; }
public string URL { get; set; } = "";
}
public class ProductImage {
public int ImageID { get; set; } // PK
public int ProductID { get; set; }
public byte[] Image { get; set; } = [];
}
public class Cart {
public int ID { get; set; }
public int AccountID { get; set; }