Fix admin route access and backend configuration
- Added /admin redirect to login page in nginx config - Fixed backend server.js route ordering for proper admin handling - Updated authentication middleware and routes - Added user management routes - Configured PostgreSQL integration - Updated environment configuration
This commit is contained in:
16
Models/OrderItem.cs
Normal file
16
Models/OrderItem.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace SkyArtShop.Models;
|
||||
|
||||
public class OrderItem
|
||||
{
|
||||
public string ProductId { get; set; } = string.Empty;
|
||||
|
||||
public string ProductName { get; set; } = string.Empty;
|
||||
|
||||
public string SKU { get; set; } = string.Empty;
|
||||
|
||||
public int Quantity { get; set; }
|
||||
|
||||
public decimal Price { get; set; }
|
||||
|
||||
public decimal Subtotal { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user