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

28 lines
679 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
2024-08-19 10:01:07 +05:00
namespace AsbCloudApp.Data;
/// <summary>
/// DTO статистики скважин куста
/// </summary>
public class StatClusterDto : IId
{
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>();
}