초기커밋
This commit is contained in:
41
ServerCommon/1. Define/BusinessLog/Domain/LandLogInfo.cs
Normal file
41
ServerCommon/1. Define/BusinessLog/Domain/LandLogInfo.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user