2024-07-04 11:02:45 +05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2024-01-16 13:24:42 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
namespace AsbCloudApp.Data;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DTO категории файла
|
|
|
|
/// </summary>
|
|
|
|
public class FileCategoryDto : IId
|
2022-02-12 11:28:16 +05:00
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <inheritdoc/>
|
|
|
|
[Required]
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
/// полное название
|
2022-06-02 12:35:51 +05:00
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
[Required]
|
|
|
|
public string Name { get; set; } = null!;
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// сокращенное название
|
|
|
|
/// </summary>
|
|
|
|
public string ShortName { get; set; } = string.Empty;
|
2022-02-12 11:28:16 +05:00
|
|
|
}
|