초기커밋
This commit is contained in:
46
ServerCommon/1. Define/BusinessLog/Domain/CraftHelpData.cs
Normal file
46
ServerCommon/1. Define/BusinessLog/Domain/CraftHelpData.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerCore; using ServerBase;
|
||||
|
||||
|
||||
using USER_GUID = System.String;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class CraftHelpLogData : ILogInvoker.IInfo
|
||||
{
|
||||
public CraftHelpLogData()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
[JsonProperty("help_user_guids")]
|
||||
public List<USER_GUID> HelpUserGuids { get; set; } = new();
|
||||
|
||||
[JsonProperty("helped_user_guids")]
|
||||
public List<USER_GUID> HelpedUserGuids { get; set; } = new();
|
||||
|
||||
[JsonProperty("craft_help_updateday")]
|
||||
public DateTime CraftHelpUpdateDay { get; set; } = DateTime.UtcNow;
|
||||
|
||||
//=====================================================================================
|
||||
// 로그 생성용 객체 정의
|
||||
//=====================================================================================
|
||||
|
||||
public void setItemInfo(CraftHelpLogData logData)
|
||||
{
|
||||
HelpUserGuids = logData.HelpUserGuids;
|
||||
HelpedUserGuids = logData.HelpedUserGuids;
|
||||
CraftHelpUpdateDay = logData.CraftHelpUpdateDay;
|
||||
}
|
||||
|
||||
//=====================================================================================
|
||||
// 로그 출력용 객체 정의
|
||||
//=====================================================================================
|
||||
public CraftHelpLogData(ILogInvoker parent, CraftHelpLogData itemParam)
|
||||
: base(parent)
|
||||
{
|
||||
setItemInfo(itemParam);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user