Remotely/Shared/Models/SharedFile.cs
2021-07-29 07:56:06 -07:00

20 lines
599 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Remotely.Shared.Models
{
public class SharedFile
{
[Key]
public string ID { get; set; } = Guid.NewGuid().ToString();
public string FileName { get; set; }
public string ContentType { get; set; }
public byte[] FileContents { get; set; }
public DateTimeOffset Timestamp { get; set; } = DateTimeOffset.Now;
public Organization Organization { get; set; }
public string OrganizationID { get; set; }
}
}