DD.WellWorkover.Cloud/AsbCloudApp/Data/DrillerDto.cs

33 lines
673 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
2024-08-19 10:01:07 +05:00
namespace AsbCloudApp.Data;
/// <summary>
/// Описание данных для бурильщика
/// </summary>
public class DrillerDto : IId
{
/// <summary>
2024-08-19 10:01:07 +05:00
/// Идентификатор в БД
/// </summary>
2024-08-19 10:01:07 +05:00
[Required]
public int Id { get; set; }
2024-08-19 10:01:07 +05:00
/// <summary>
/// Имя
/// </summary>
[Required]
public string Name { get; set; } = null!;
2022-05-31 16:36:24 +05:00
2024-08-19 10:01:07 +05:00
/// <summary>
/// Фамилия
/// </summary>
[Required]
public string Surname { get; set; } = null!;
2022-05-31 16:36:24 +05:00
2024-08-19 10:01:07 +05:00
/// <summary>
/// Отчество
/// </summary>
public string? Patronymic { get; set; }
}