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