forked from ddrilling/AsbCloudServer
30 lines
794 B
C#
30 lines
794 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
|
|
namespace AsbCloudApp.Data;
|
|
|
|
/// <summary>
|
|
/// Дела скважины
|
|
/// </summary>
|
|
public class WellCaseDto
|
|
{
|
|
/// <summary>
|
|
/// Скважина
|
|
/// </summary>
|
|
[Required]
|
|
public int IdWell { get; set; }
|
|
|
|
/// <summary>
|
|
/// Разрешение для текущего пользователя добавлять ответственных
|
|
/// </summary>
|
|
[Required]
|
|
public bool PermissionToSetPubliher { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Документ дела скважины
|
|
/// </summary>
|
|
[Required]
|
|
public IEnumerable<WellFinalDocumentDto> WellFinalDocuments { get; set; } = Enumerable.Empty<WellFinalDocumentDto>();
|
|
}
|