초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
using Newtonsoft.Json;
using ServerBase;
namespace ServerCommon.BusinessLogDomain;
public class MailExpiredLogData : ILogInvoker.IInfo
{
public MailExpiredLogData()
: base()
{ }
[JsonProperty]
public string OrderGuid { get; set; } = string.Empty;
[JsonProperty]
public int ProductMetaId { get; set; } = 0;
[JsonProperty]
public DateTime NextGiveTime { get; set; } = new();
[JsonProperty]
public DateTime ExpireTime { get; set; } = new();
[JsonProperty]
public DateTime CurrencyTime { get; set; } = new();
[JsonProperty]
public int RepeatLeftCount { get; set; } = 0;
//=====================================================================================
// 로그 생성용 객체 정의
//=====================================================================================
public void setItemInfo(MailExpiredLogData logData)
{
OrderGuid = logData.OrderGuid;
ProductMetaId = logData.ProductMetaId;
NextGiveTime = logData.NextGiveTime;
ExpireTime = logData.ExpireTime;
CurrencyTime = logData.CurrencyTime;
RepeatLeftCount = logData.RepeatLeftCount;
}
//=====================================================================================
// 로그 출력용 객체 정의
//=====================================================================================
public MailExpiredLogData(ILogInvoker parent, MailExpiredLogData itemParam)
: base(parent)
{
if (null != itemParam)
{
setItemInfo(itemParam);
}
}
}