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

34 lines
775 B
C#

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