using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;

namespace AsbCloudApp.Data.DailyReport.Blocks.WellOperation;

/// <summary>
/// Блок с операциями проводимыми на скважине
/// </summary>
public class WellOperationBlockDto
{
    /// <summary>
    /// Продолжительность бурения за секцию
    /// </summary>
    [Required]
   public double SectionDrillingHours { get; set; }

   /// <summary>
   /// Операции проводимые на скважине
   /// </summary>
   [Required]
   public IEnumerable<WellOperationRecordDto> WellOperations { get; set; } = Enumerable.Empty<WellOperationRecordDto>();
}