forked from ddrilling/AsbCloudServer
39 lines
926 B
C#
39 lines
926 B
C#
using System.Collections.Generic;
|
||
|
||
namespace AsbCloudApp.Data
|
||
{
|
||
/// <summary>
|
||
/// DTO Месторождения
|
||
/// </summary>
|
||
public class DepositBaseDto : IMapPoint, IId
|
||
{
|
||
/// <inheritdoc/>
|
||
public int Id { get; set; }
|
||
|
||
/// <summary>
|
||
/// Название
|
||
/// </summary>
|
||
public string Caption { get; set; }
|
||
|
||
/// <inheritdoc/>
|
||
public double? Latitude { get; set; }
|
||
|
||
/// <inheritdoc/>
|
||
public double? Longitude { get; set; }
|
||
|
||
/// <inheritdoc/>
|
||
public SimpleTimezoneDto Timezone { get; set; }
|
||
}
|
||
|
||
/// <summary>
|
||
/// DTO Месторождения с кустами
|
||
/// </summary>
|
||
public class DepositDto : DepositBaseDto
|
||
{
|
||
/// <summary>
|
||
/// Кусты месторождения
|
||
/// </summary>
|
||
public IEnumerable<ClusterDto> Clusters { get; set; }
|
||
}
|
||
}
|