using System;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;

namespace AyaNova.Models
{

    public partial class FileAttachment
    {
        public long Id { get; set; }
        public uint ConcurrencyToken { get; set; }
       
        [Required]
        public long OwnerId { get; set; }
        //-----------------------------------------
        [Required]
        public long AttachToObjectId { get; set; }
        [Required]
        public AyaType AttachToObjectType { get; set; }//int
        [Required]
        public string StoredFileName { get; set; }
        [Required]
        public string DisplayFileName { get; set; }
        [Required]
        public string ContentType { get; set; }//mime type       
        public string Notes { get; set; }

    }
}