초기커밋
This commit is contained in:
42
ServerCommon/1. Define/BusinessLog/Domain/MyHomeLogInfo.cs
Normal file
42
ServerCommon/1. Define/BusinessLog/Domain/MyHomeLogInfo.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
using ServerBase;
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class MyHomeLogInfo : ILogInvoker.IInfo
|
||||
{
|
||||
[JsonProperty]
|
||||
public string MyhomeGuid { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public int MyhomeMetaId { get; set; }
|
||||
[JsonProperty]
|
||||
public string MyhomeName { get; set; } = string.Empty;
|
||||
|
||||
public MyHomeLogInfo()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
public MyHomeLogInfo(ILogInvoker parent, MyHomeLogInfo logParam)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != logParam)
|
||||
{
|
||||
setMyHomeInfo(logParam);
|
||||
}
|
||||
}
|
||||
|
||||
public void setMyHomeInfo(MyHomeLogInfo logInfo)
|
||||
{
|
||||
MyhomeGuid = logInfo.MyhomeGuid;
|
||||
MyhomeMetaId = logInfo.MyhomeMetaId;
|
||||
MyhomeName = logInfo.MyhomeName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user