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-10-13 08:19:47 +03:30
|
|
|
//اعلان ایمیل
|
|
|
|
|
public bool EmailNotifications { get; init; }
|
|
|
|
|
//اعلان پیامک
|
|
|
|
|
public bool SmsNotifications { get; init; }
|
|
|
|
|
//اعلان پوش
|
|
|
|
|
public bool PushNotifications { get; init; }
|
|
|
|
|
//تاریخ تولد
|
|
|
|
|
public DateTime? BirthDate { get; init; }
|
2025-09-27 08:46:36 +03:30
|
|
|
|
|
|
|
|
}
|