1
pulg
2025-06-17 03f92b99d7f00b728dccd409863c38d1191a4c60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 
using System;
using System.Collections.Generic;
 
namespace HH.TOOLS.LOG
{
    public class LogPara1
    {
        private int logType = 0;
 
        public int index { get; set; }
 
        public string title { get; set; }
 
        public string type { get; set; }
 
        public string from { get; set; }
 
        public bool isExistMst { get; set; }
 
        public DateTime create { get; set; }
 
        public TN_AB_LOGMSTEntity logMst { get; set; }
 
        public List<TN_AB_LOGDTLEntity> logDtls { get; set; }
 
        public LogPara1(string title, string type = "INFO", string from = "API")
        {
            this.title = title;
            this.type = type;
            this.from = from;
            create = DateTime.Now;
            isExistMst = false;
            logMst = new TN_AB_LOGMSTEntity
            {
                CN_S_GUID = Guid.NewGuid().ToString(),
                CN_S_LOG_TYPE = type,
                CN_S_LOG_FROM = from,
                CN_S_LOG_TITLE = title,
                CN_T_CREATE = DateTime.Now
            };
            logDtls = new List<TN_AB_LOGDTLEntity>();
            index = 1;
        }
    }
}