38 lines
878 B
C#
38 lines
878 B
C#
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerBase;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
public class MyhomeExchangeLogInfo : ILogInvoker.IInfo
|
|
{
|
|
[JsonProperty]
|
|
public string UserGuid { get; set; } = string.Empty;
|
|
[JsonProperty]
|
|
public string OldMyhomeGuid { get; set; } = string.Empty;
|
|
[JsonProperty]
|
|
public string NewMyhomeGuid { get; set; } = string.Empty;
|
|
|
|
public MyhomeExchangeLogInfo()
|
|
: base()
|
|
{ }
|
|
|
|
public MyhomeExchangeLogInfo(ILogInvoker parent, MyhomeExchangeLogInfo logParam)
|
|
: base(parent)
|
|
{
|
|
if (null != logParam)
|
|
{
|
|
setMyhomeExchangeInfo(logParam);
|
|
}
|
|
}
|
|
|
|
public void setMyhomeExchangeInfo(MyhomeExchangeLogInfo logInfo)
|
|
{
|
|
UserGuid = logInfo.UserGuid;
|
|
OldMyhomeGuid = logInfo.OldMyhomeGuid;
|
|
NewMyhomeGuid = logInfo.NewMyhomeGuid;
|
|
}
|
|
}
|