forked from ddrilling/AsbCloudServer
29 lines
757 B
C#
29 lines
757 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
|
|
namespace AsbCloudApp.Data
|
|
{
|
|
/// <summary>
|
|
/// DTO статистики скважин куста
|
|
/// </summary>
|
|
public class StatClusterDto : IId
|
|
{
|
|
/// <inheritdoc/>
|
|
[Required]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// название куста
|
|
/// </summary>
|
|
[Required]
|
|
public string Caption { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// список статистик скважин куста
|
|
/// </summary>
|
|
[Required]
|
|
public IEnumerable<StatWellDto> StatsWells { get; set; } = Enumerable.Empty<StatWellDto>();
|
|
}
|
|
}
|