42 lines
798 B
C#
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;
|
|
}
|
|
}
|