Added authentication
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace SampleApi.Models
|
||||
{
|
||||
// This file is part of the EonaCat project(s) which is released under the Apache License.
|
||||
// See the LICENSE file or go to https://EonaCat.com/license for full license details.
|
||||
|
||||
public class Order
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
public List<OrderLine> Lines { get; set; } = new();
|
||||
public decimal Total { get; set; }
|
||||
public OrderStatus Status { get; set; }
|
||||
public DateTime PlacedAt { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user