Files
DDUtility/DDUtilityApp/LOGPARSER/DATA/LogFile.cs
2025-03-05 10:00:08 +09:00

43 lines
893 B
C#

using System;
using JWH.DATA;
namespace DDUtilityApp.LOGPARSER.DATA
{
/// <summary>
/// 로그 파일 정보
/// </summary>
public class LogFile : DataTableBase
{
public AccessType Access { get; set; } = AccessType.FTPS;
public string Name { get; set; }
public long Length { get; set; }
public string Extension { get; set; }
public string FullName { get; set; }
public DateTime CreationTime { get; set; }
public DateTime LastAccessTime { get; set; }
public DateTime LastWriteTime { get; set; }
public LogFile()
{
}
public LogFile(string fullName)
{
this.Name = System.IO.Path.GetFileNameWithoutExtension(fullName);
this.FullName = fullName;
this.Extension = System.IO.Path.GetExtension(fullName);
}
}
}