2025-09-27 08:46:36 +03:30
|
|
|
namespace CMSMicroservice.Application.UserCQ.Commands.UpdateUser;
|
|
|
|
|
public record UpdateUserCommand : IRequest<Unit>
|
|
|
|
|
{
|
|
|
|
|
//شناسه
|
|
|
|
|
public long Id { get; init; }
|
|
|
|
|
//نام
|
|
|
|
|
public string? FirstName { get; init; }
|
|
|
|
|
//نام خانوادگی
|
|
|
|
|
public string? LastName { get; init; }
|
|
|
|
|
//کد ملی
|
|
|
|
|
public string? NationalCode { get; init; }
|
|
|
|
|
//آدرس آواتار
|
|
|
|
|
public string? AvatarPath { get; init; }
|
2025-09-28 06:30:13 +03:30
|
|
|
//قوانین پذیرفته شده؟
|
|
|
|
|
public bool IsRulesAccepted { get; init; }
|
|
|
|
|
//تاریخ پذیرش قوانین
|
|
|
|
|
public DateTime? RulesAcceptedAt { get; init; }
|
2025-09-27 08:46:36 +03:30
|
|
|
|
|
|
|
|
}
|