forked from ddrilling/AsbCloudServer
40 lines
917 B
C#
40 lines
917 B
C#
using System.Collections.Generic;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using System.Linq;
|
||
|
||
namespace AsbCloudApp.Data;
|
||
|
||
|
||
#nullable enable
|
||
|
||
/// <summary>
|
||
/// DTO Месторождения
|
||
/// </summary>
|
||
public class DepositBaseDto : MapPointBaseDto
|
||
{
|
||
}
|
||
|
||
/// <summary>
|
||
/// DTO Месторождения с кустами
|
||
/// </summary>
|
||
public class DepositDto : MapPointBaseDto
|
||
{
|
||
/// <summary>
|
||
/// Кусты месторождения
|
||
/// </summary>
|
||
[Required]
|
||
public IEnumerable<ClusterDto> Clusters { get; set; } = Enumerable.Empty<ClusterDto>();
|
||
}
|
||
|
||
/// <summary>
|
||
/// DTO Месторождения с кустами
|
||
/// </summary>
|
||
public class DepositBranchDto : MapPointBaseDto
|
||
{
|
||
/// <summary>
|
||
/// Кусты месторождения
|
||
/// </summary>
|
||
[Required]
|
||
public IEnumerable<ClusterBranchDto> Clusters { get; set; } = Enumerable.Empty<ClusterBranchDto>();
|
||
}
|