feat:Initial commit

This commit is contained in:
elar1s
2025-09-25 22:21:41 +03:00
commit 02934b1fd9
35 changed files with 1267 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using System.ComponentModel.DataAnnotations;
namespace StoreService.Models;
/// <summary>
/// Request body to create a new order consisting of store item identifiers.
/// </summary>
public class CreateOrderRequest
{
/// <summary>Identifier of the user creating the order.</summary>
[Required]
public long UserId { get; set; }
/// <summary>Collection of store item ids to include (unique). Duplicates are ignored.</summary>
[Required]
[MinLength(1)]
public List<long> StoreItemIds { get; set; } = new();
}