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.API.Domain.Entities
{
    [Table("TB_AIP_FILE_JOB_LOG")]
    public class TbAipFileJobLog
    {
        [Key]
        //[DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int ApiId { get; set; }
        public string FileId { get; set; } = string.Empty;
        public string FileName { get; set; } = string.Empty;
        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 string? JobOwner { get; set; }
        public string? ServerIpAddr { get; set; }
        public string? ApiKey { get; set; }
        public string? DecryptKey { get; set; }
        public int JobResult { get; set; }
        public int JobTime { get; set; }
        public string? JobMessage { get; set; }
    }
}
