20 lines
413 B
C#
20 lines
413 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Fengling.Console.Models.Dtos;
|
|
|
|
public class UpdateUserDto
|
|
{
|
|
[Required]
|
|
[EmailAddress]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string RealName { get; set; } = string.Empty;
|
|
|
|
public string? Phone { get; set; }
|
|
|
|
public bool EmailConfirmed { get; set; }
|
|
|
|
public bool IsActive { get; set; } = true;
|
|
}
|