DD.WellWorkover.Cloud/AsbCloudApp/Data/DepositDto.cs
2024-08-19 10:01:07 +05:00

40 lines
917 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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>();
}