This commit is contained in:
2022-12-16 06:01:23 +00:00
parent 26c2ae5cc9
commit effd96143f
310 changed files with 48715 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
using System;
using Sockeye.Biz;
using System.ComponentModel.DataAnnotations;
namespace Sockeye.Models
{
public class FileAttachment
{
public FileAttachment()
{
//all start out as synchronized
Exists = true;
}
public long Id { get; set; }
public uint Concurrency { get; set; }
//-----------------------------------------
[Required]
public long AttachToObjectId { get; set; }
[Required]
public SockType AttachToAType { get; set; }//int
[Required]
public string StoredFileName { get; set; }
[Required]
public string DisplayFileName { get; set; }
[Required]
public string ContentType { get; set; }//mime type
[Required]
public DateTime LastModified { get; set; }
public string Notes { get; set; }
[Required]
public long AttachedByUserId { get; set; }
[Required]
public bool Exists { get; set; }//was on disk last sync check
[Required]
public long Size { get; set; }
}
}