forked from ddrilling/AsbCloudServer
26 lines
612 B
C#
26 lines
612 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace AsbCloudApp.Data
|
|
{
|
|
/// <summary>
|
|
/// DTO категории файла
|
|
/// </summary>
|
|
public class FileCategoryDto : IId
|
|
{
|
|
/// <inheritdoc/>
|
|
[Required]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// полное название
|
|
/// </summary>
|
|
[Required]
|
|
public string Name { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// сокращенное название
|
|
/// </summary>
|
|
public string ShortName { get; set; } = string.Empty;
|
|
}
|
|
}
|