47 lines
1.3 KiB
C#
47 lines
1.3 KiB
C#
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);
|
|
}
|
|
}
|
|
}
|