Files
2022-02-04 17:53:35 +01:00

52 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
namespace LiMan.DB.DBModels
{
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
//[Index(nameof(Installazione), nameof(Active), nameof(DiskStatus))]
[Table("FileAttach")]
public partial class FileAttachModel
{
#region Public Properties
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int IdxFileAttach { get; set; }
/// <summary>
/// Id del ticket cui è collegato
/// </summary>
public int IdxTicket { get; set; }
/// <summary>
/// DataOra evento
/// </summary>
public DateTime DtEvent { get; set; } = DateTime.Now;
/// <summary>
/// Codice univoco della sub licenza (opzionale)
/// </summary>
public string OriginalName { get; set; } = "";
/// <summary>
/// Nome con cui è salvato il file localmente
/// </summary>
public string StorageName { get; set; } = "";
/// <summary>
/// Path completo del file
/// </summary>
public string FullStoragePath { get; set; } = "";
[ForeignKey("IdxTicket")]
public virtual TicketModel TicketNav { get; set; }
#endregion Public Properties
}
}