using CMSMicroservice.Domain.Enums; namespace CMSMicroservice.Application.InventoryItemCQ.Commands.CreateInventoryItem; /// /// Command برای ایجاد آیتم موجودی جدید /// public record CreateInventoryItemCommand : IRequest { /// شناسه محصول عادی public long? ProductId { get; init; } /// شناسه محصول تخفیفی public long? DiscountProductId { get; init; } /// شناسه انبار public long WarehouseId { get; init; } /// تعداد موجودی public int Quantity { get; init; } /// حداقل موجودی (هشدار) public int MinQuantity { get; init; } /// حداکثر موجودی public int MaxQuantity { get; init; } /// فعال؟ public bool IsActive { get; init; } = true; }