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