Remotely/Shared/Models/SharedFile.cs
Jared Goodwin 10ec413b7d WIP
2021-07-29 07:53:54 -07:00

19 lines
544 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 DateTime Timestamp { get; set; } = DateTime.Now;
public virtual Organization Organization { get; set; }
}
}