using MediatR;

namespace CMSMicroservice.Application.UserAddressCQ.Commands.CreateCustomerAddress;

/// <summary>
/// Command برای ایجاد آدرس جدید برای کاربر فعلی
/// </summary>
public class CreateCustomerAddressCommand : IRequest<CreateCustomerAddressCommandResponse>
{
    public string Title { get; set; } = string.Empty;
    public string Address { get; set; } = string.Empty;
    public string PostalCode { get; set; } = string.Empty;
    public bool IsDefault { get; set; }
    public long CityId { get; set; }
    // UserId from ICurrentUserService
}

public class CreateCustomerAddressCommandResponse
{
    public long Id { get; set; }
    public string Message { get; set; } = string.Empty;
}
