using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #nullable disable namespace LiMan.DB.DBModels { // // This is here so CodeMaid doesn't reorganize this document // //[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; } /// /// Id del ticket cui è collegato /// public int IdxTicket { get; set; } /// /// DataOra evento /// public DateTime DtEvent { get; set; } = DateTime.Now; /// /// Codice univoco della sub licenza (opzionale) /// public string OriginalName { get; set; } = ""; /// /// Nome con cui è salvato il file localmente /// public string StorageName { get; set; } = ""; /// /// Path completo del file /// public string FullStoragePath { get; set; } = ""; [ForeignKey("IdxTicket")] public virtual TicketModel TicketNav { get; set; } #endregion Public Properties } }