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

45 lines
1.1 KiB
C#
Raw Normal View History

using System.Collections.Generic;
namespace AsbCloudApp.Data
{
2022-06-01 17:52:26 +05:00
#nullable enable
/// <summary>
/// DTO кустов
/// </summary>
public class ClusterDto : IMapPoint, IId
{
2022-06-01 17:52:26 +05:00
/// <inheritdoc/>
public int Id { get; set; }
2022-06-01 17:52:26 +05:00
/// <summary>
/// Название
/// </summary>
public string Caption { get; set; } = null!;
/// <inheritdoc/>
2021-07-21 15:22:58 +05:00
public double? Latitude { get; set; }
2022-06-01 17:52:26 +05:00
/// <inheritdoc/>
2021-07-21 15:22:58 +05:00
public double? Longitude { get; set; }
2022-06-01 17:52:26 +05:00
/// <inheritdoc/>
public SimpleTimezoneDto? Timezone { get; set; }
2022-06-01 17:52:26 +05:00
/// <summary>
/// ИД месторождения, необязательный
/// </summary>
2021-12-21 11:52:53 +05:00
public int? IdDeposit { get; set; }
2022-06-01 17:52:26 +05:00
/// <summary>
/// DTO месторождения
/// </summary>
public DepositBaseDto? Deposit { get; set; }
/// <summary>
/// Список скважин куста
/// </summary>
public IEnumerable<WellDto>? Wells { get; set; } = null!;
}
2022-06-01 17:52:26 +05:00
#nullable disable
}