2021-04-02 17:28:07 +05:00
|
|
|
|
namespace AsbCloudApp.Data
|
|
|
|
|
{
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO пользователя платформы
|
|
|
|
|
/// </summary>
|
2022-04-11 18:00:34 +05:00
|
|
|
|
public class UserDto : IId
|
2021-04-02 17:28:07 +05:00
|
|
|
|
{
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <inheritdoc/>
|
2021-04-02 17:28:07 +05:00
|
|
|
|
public int Id { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// логин
|
|
|
|
|
/// </summary>
|
2021-12-11 16:46:04 +05:00
|
|
|
|
public string Login { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Имя
|
|
|
|
|
/// </summary>
|
2021-12-11 16:46:04 +05:00
|
|
|
|
public string Name { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Фамилия
|
|
|
|
|
/// </summary>
|
2021-12-11 16:46:04 +05:00
|
|
|
|
public string Surname { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Отчество
|
|
|
|
|
/// </summary>
|
2022-04-11 18:00:34 +05:00
|
|
|
|
public string Patronymic { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Email
|
|
|
|
|
/// </summary>
|
2022-04-11 18:00:34 +05:00
|
|
|
|
public string Email { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Phone
|
|
|
|
|
/// </summary>
|
2021-12-11 16:46:04 +05:00
|
|
|
|
public string Phone { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Должность
|
|
|
|
|
/// </summary>
|
2021-12-11 16:46:04 +05:00
|
|
|
|
public string Position { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id компании
|
|
|
|
|
/// </summary>
|
2021-07-21 12:30:51 +05:00
|
|
|
|
public int? IdCompany { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id состояния пользователя
|
|
|
|
|
/// </summary>
|
2021-12-22 16:55:39 +05:00
|
|
|
|
public short? IdState { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO компании
|
|
|
|
|
/// </summary>
|
2021-08-31 18:01:26 +05:00
|
|
|
|
public CompanyDto Company { get; set; }
|
2021-04-02 17:28:07 +05:00
|
|
|
|
}
|
|
|
|
|
}
|