forked from ddrilling/AsbCloudServer
38 lines
1020 B
C#
38 lines
1020 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace AsbCloudApp.Data
|
|
{
|
|
/// <summary>
|
|
/// DTO кустов
|
|
/// </summary>
|
|
public class ClusterDto : MapPointBaseDto
|
|
{
|
|
/// <summary>
|
|
/// ИД месторождения, необязательный
|
|
/// </summary>
|
|
public int IdDeposit { get; set; }
|
|
|
|
/// <summary>
|
|
/// DTO месторождения
|
|
/// </summary>
|
|
public DepositBaseDto? Deposit { get; set; }
|
|
|
|
/// <summary>
|
|
/// Список скважин куста
|
|
/// </summary>
|
|
public IEnumerable<WellDto> Wells { get; set; } = Enumerable.Empty<WellDto>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// DTO кустов
|
|
/// </summary>
|
|
public class ClusterBranchDto : MapPointBaseDto
|
|
{
|
|
/// <summary>
|
|
/// Список скважин куста
|
|
/// </summary>
|
|
public IEnumerable<WellMapInfoDto> Wells { get; set; } = Enumerable.Empty<WellMapInfoDto>();
|
|
}
|
|
}
|