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

39 lines
926 B
C#
Raw Normal View History

using System.Collections.Generic;
namespace AsbCloudApp.Data
{
2022-06-01 17:52:26 +05:00
/// <summary>
/// DTO Месторождения
/// </summary>
2021-12-21 11:52:53 +05:00
public class DepositBaseDto : 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; }
2022-06-01 17:52:26 +05:00
/// <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; }
2021-12-21 11:52:53 +05:00
}
2022-06-01 17:52:26 +05:00
/// <summary>
/// DTO Месторождения с кустами
/// </summary>
2021-12-21 11:52:53 +05:00
public class DepositDto : DepositBaseDto
{
2022-06-01 17:52:26 +05:00
/// <summary>
/// Кусты месторождения
/// </summary>
public IEnumerable<ClusterDto> Clusters { get; set; }
}
}