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

30 lines
794 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
2022-09-12 10:05:04 +05:00
using System.Linq;
2024-08-19 10:01:07 +05:00
namespace AsbCloudApp.Data;
/// <summary>
/// Дела скважины
/// </summary>
public class WellCaseDto
2022-09-12 10:05:04 +05:00
{
/// <summary>
2024-08-19 10:01:07 +05:00
/// Скважина
2022-09-12 10:05:04 +05:00
/// </summary>
2024-08-19 10:01:07 +05:00
[Required]
public int IdWell { get; set; }
2024-08-19 10:01:07 +05:00
/// <summary>
/// Разрешение для текущего пользователя добавлять ответственных
/// </summary>
[Required]
public bool PermissionToSetPubliher { get; set; } = true;
2023-05-19 16:51:41 +05:00
2024-08-19 10:01:07 +05:00
/// <summary>
/// Документ дела скважины
/// </summary>
[Required]
public IEnumerable<WellFinalDocumentDto> WellFinalDocuments { get; set; } = Enumerable.Empty<WellFinalDocumentDto>();
2022-09-12 10:05:04 +05:00
}