Files
caliverse_server/ServerCommon/1. Define/BusinessLog/Domain/LandLogInfo.cs
2025-05-01 07:20:41 +09:00

42 lines
798 B
C#

using Newtonsoft.Json;
using ServerBase;
namespace ServerCommon.BusinessLogDomain;
public class LandLogInfo : ILogInvoker.IInfo
{
[JsonProperty]
public int LandMetaId { get; set; }
[JsonProperty]
public string OwnerGuid { get; set; } = string.Empty;
public LandLogInfo()
: base()
{ }
public LandLogInfo(ILogInvoker parent, LandLogInfo logParam)
: base(parent)
{
if (null != logParam)
{
setLandInfo(logParam);
}
}
public void setLandInfo(LandLogInfo logInfo)
{
LandMetaId = logInfo.LandMetaId;
OwnerGuid = logInfo.OwnerGuid;
}
public void setLogProperty(int landMetaId, string ownerGuid)
{
LandMetaId = landMetaId;
OwnerGuid = ownerGuid;
}
}