using CoviDok.Api;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace CoviDok.Data.Model
{
    public class Update
    {
        public int Id { get; set; }
        public int CaseId { get; set; }
        public int SenderId { get; set; }
        public Role SenderRole { get; set; }
        public string Content { get; set; }
        public DateTime CreatedDate { get; set; }

        [NotMapped]
        public ICollection<string> Images { get; set; }
        public Update()
        {
            Images = new List<string>();
        }
    }
}