2024-07-04 11:02:45 +05:00
|
|
|
|
using System.Collections.Generic;
|
2024-01-16 13:24:42 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-02-17 15:30:17 +05:00
|
|
|
|
using System.Linq;
|
2021-07-22 14:23:47 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
namespace AsbCloudApp.Data;
|
|
|
|
|
|
2023-02-17 15:30:17 +05:00
|
|
|
|
|
|
|
|
|
#nullable enable
|
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO Месторождения
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DepositBaseDto : MapPointBaseDto
|
|
|
|
|
{
|
|
|
|
|
}
|
2022-06-01 17:52:26 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO Месторождения с кустами
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DepositDto : MapPointBaseDto
|
|
|
|
|
{
|
2023-02-07 16:20:36 +05:00
|
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// Кусты месторождения
|
2023-02-07 16:20:36 +05:00
|
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
|
[Required]
|
|
|
|
|
public IEnumerable<ClusterDto> Clusters { get; set; } = Enumerable.Empty<ClusterDto>();
|
|
|
|
|
}
|
2021-07-19 15:11:01 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// DTO Месторождения с кустами
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DepositBranchDto : MapPointBaseDto
|
|
|
|
|
{
|
2022-06-01 17:52:26 +05:00
|
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// Кусты месторождения
|
2022-06-01 17:52:26 +05:00
|
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
|
[Required]
|
|
|
|
|
public IEnumerable<ClusterBranchDto> Clusters { get; set; } = Enumerable.Empty<ClusterBranchDto>();
|
2021-07-19 15:11:01 +05:00
|
|
|
|
}
|