mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 08:46:39 +00:00
21 lines
No EOL
556 B
C#
21 lines
No EOL
556 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace TicketManager.Resources
|
|
{
|
|
public class NewAppUserDTO
|
|
{
|
|
public string Id { get; set; }
|
|
|
|
[Required]
|
|
public string FirstName { get; set; }
|
|
public string LastName { get; set; }
|
|
public string Presentation { get; set; }
|
|
[Required]
|
|
[DataType(DataType.EmailAddress)]
|
|
public string Email { get; set; }
|
|
|
|
[DataType(DataType.PhoneNumber)]
|
|
public string Phone { get; set; }
|
|
public string Picture { get; set; }
|
|
}
|
|
} |