using System;
using JWH.DATA;

namespace DDUtilityApp.LOGPARSER.DATA
{

    /// <summary>
    /// 로그 파일 정보
    /// </summary>
    public class LogFile : DataTableBase
    {

        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);
        }

    }

}
