초기커밋
This commit is contained in:
46
ServerCommon/1. Define/BusinessLog/Domain/MailProfileData.cs
Normal file
46
ServerCommon/1. Define/BusinessLog/Domain/MailProfileData.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerBase;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class MailProfileLogData : ILogInvoker.IInfo
|
||||
{
|
||||
public MailProfileLogData()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
[JsonProperty]
|
||||
public Int32 SendMailCount { get; set; } = 0;
|
||||
|
||||
[JsonProperty]
|
||||
public Int64 SendMailUpdateDay { get; set; } = 0;
|
||||
|
||||
[JsonProperty]
|
||||
public Int32 LastSystemMailId { get; set; } = 0;
|
||||
|
||||
//=====================================================================================
|
||||
// 로그 생성용 객체 정의
|
||||
//=====================================================================================
|
||||
|
||||
public void setItemInfo(MailProfileLogData logData)
|
||||
{
|
||||
SendMailCount = logData.SendMailCount;
|
||||
SendMailUpdateDay = logData.SendMailUpdateDay;
|
||||
LastSystemMailId = logData.LastSystemMailId;
|
||||
}
|
||||
|
||||
//=====================================================================================
|
||||
// 로그 출력용 객체 정의
|
||||
//=====================================================================================
|
||||
public MailProfileLogData(ILogInvoker parent, MailProfileLogData itemParam)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != itemParam)
|
||||
{
|
||||
setItemInfo(itemParam);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user