2024-07-04 11:02:45 +05:00
|
|
|
using System.Collections.Generic;
|
2024-01-16 13:24:42 +05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-02-24 14:37:57 +05:00
|
|
|
using System.Linq;
|
2021-08-24 16:47:10 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
namespace AsbCloudApp.Data;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DTO статистики скважин куста
|
|
|
|
/// </summary>
|
|
|
|
public class StatClusterDto : IId
|
2021-08-24 16:47:10 +05:00
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <inheritdoc/>
|
|
|
|
[Required]
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
/// название куста
|
2022-06-02 12:35:51 +05:00
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
[Required]
|
|
|
|
public string Caption { get; set; } = string.Empty;
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// список статистик скважин куста
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public IEnumerable<StatWellDto> StatsWells { get; set; } = Enumerable.Empty<StatWellDto>();
|
2021-08-24 16:47:10 +05:00
|
|
|
}
|