using Microsoft.EntityFrameworkCore.Metadata;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AipGateway.Data.Entities
{
    [Table("TB_AIP_FILE_JOB_LOG")]
    public class TbAipFileJobLog
    {
        [Key]
        public required Int64 Id { get; set; }
        public required DateTime LogDate { get; set; }
        public required string FileId { get; set; }
        public required string FileName { get; set; }
        public string? FileExt { get; set; }
        public string? FileOwner { get; set; }
        public string? FileLabelGuid { get; set; }
        public string? FileProtectionGuid { get; set; }
        public Int64? FileSize { get; set; }
        public string? NewFileName { get; set; }
        public string? NewFileExt { get; set; }
        public string? NewFileOwner { get; set; }
        public string? NewFileLabelGuid { get; set; }
        public string? NewFileProtectionGuid { get; set; }
        public Int64? NewFileSize { get; set; }
        public string? ApiGuid { get; set; }
        public required string JobType { get; set; }
        public string? JobOwner { get; set; }
        public string? ServerIpAddr { get; set; }
        public string? ApiKey { get; set; }
        public string? DecryptKey { get; set; }
        public required string JobResult { get; set; }
        public string? JobMessage { get; set; }
    }
}
