using Microsoft.AspNetCore.Http;
using MTWorkHR.Core.Entities.Base;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MTWorkHR.Application.Models
{
    public class AttachmentDto : EntityDto
    {
        public long? AttachmentTypeId { get; set; }
        public long TaskId { get; set; }

        public string? AttachmentTypeName { get; set; }

        public IFormFile? FileData { get; set; }
        public string? FileName { get; set; }

        public string? CreateDate { get; set; }
        public string? OriginalName { get; set; }
        public string? FilePath { get; set; }
        public byte[]? Content { get; set; }
        public string? ContentType { get; set; }

    }
}