v0.0.3 twa sys
This commit is contained in:
27
TWASys-App/DBModels/SotrageModel/SyncFile_Log.cs
Normal file
27
TWASys-App/DBModels/SotrageModel/SyncFile_Log.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace TWASys_App.DBModels.SotrageModel
|
||||
{
|
||||
public class SyncFile_Log
|
||||
{
|
||||
public ulong Id { get; set; }
|
||||
|
||||
[ForeignKey("")]
|
||||
public long IdFiles { get; set; }
|
||||
|
||||
[ForeignKey("")]
|
||||
public long IdStorageServer { get; set; }
|
||||
[ForeignKey("")]
|
||||
public long IdLocalServer { get; set; }
|
||||
|
||||
[ForeignKey("")]
|
||||
public long IdCloudAccount { get; set; } // FK -> CloudAccounts.id
|
||||
public DateTime SyncDate { get; set; } = DateTime.UtcNow; // UTC
|
||||
public string? PathOnServer { get; set; } // đường dẫn lưu trên đích
|
||||
public int Status { get; set; } // 0=pending,1=ok,2=retry,3=failed,...
|
||||
|
||||
// nav
|
||||
public Files File { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user