27 lines
931 B
C#
27 lines
931 B
C#
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; }
|
|
//قوانین پذیرفته شده؟
|
|
public bool IsRulesAccepted { get; init; }
|
|
//تاریخ پذیرش قوانین
|
|
public DateTime? RulesAcceptedAt { get; init; }
|
|
//اعلان ایمیل
|
|
public bool EmailNotifications { get; init; }
|
|
//اعلان پیامک
|
|
public bool SmsNotifications { get; init; }
|
|
//اعلان پوش
|
|
public bool PushNotifications { get; init; }
|
|
//تاریخ تولد
|
|
public DateTime? BirthDate { get; init; }
|
|
|
|
} |