DD.WellWorkover.Cloud/AsbCloudApp/Data/FileInfoDto.cs
2022-10-17 14:42:47 +05:00

58 lines
1.4 KiB
C#
Raw 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;
using System.Collections.Generic;
namespace AsbCloudApp.Data
{
/// <summary>
/// DTO информации о файле. Используется для загрузки файла.
/// </summary>
public class FileInfoDto : IId, IWellRelated
{
/// <inheritdoc/>
public int Id { get; set; }
/// <inheritdoc/>
public int IdWell { get; set; }
/// <summary>
/// id категории файла
/// </summary>
public int IdCategory { get; set; }
/// <summary>
/// Id автора
/// </summary>
public int? IdAuthor { get; set; }
/// <summary>
/// имя файла
/// </summary>
public string Name { get; set; }
/// <summary>
/// дата загрузки
/// </summary>
public DateTime UploadDate { get; set; }
/// <summary>
/// размер в байтах
/// </summary>
public long Size { get; set; }
/// <summary>
/// Помечен как удаленный
/// </summary>
public bool IsDeleted { get; set; }
/// <summary>
/// DTO автора
/// </summary>
public UserDto Author { get; set; }
/// <summary>
/// список отметок файла
/// </summary>
public IEnumerable<FileMarkDto> FileMarks { get; set; }
}
}