초기커밋
This commit is contained in:
54
ServerCommon/1. Define/BusinessLog/Domain/PartyLogData.cs
Normal file
54
ServerCommon/1. Define/BusinessLog/Domain/PartyLogData.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
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 PartyLogData : ILogInvoker.IInfo
|
||||
{
|
||||
[JsonProperty]
|
||||
public string PartyGuid { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public string PartyName { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public string PartyLeaderCharGuid { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public int PartyMemberCount { get; set; }
|
||||
[JsonProperty]
|
||||
public DateTime CreatePartyTime { get; set; }
|
||||
[JsonProperty]
|
||||
public DateTime DestroyPartyTime { get; set; }
|
||||
|
||||
public PartyLogData()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
public PartyLogData(ILogInvoker parent, PartyLogData logParam)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != logParam)
|
||||
{
|
||||
setPartyInfo(logParam);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPartyInfo(PartyLogData logData)
|
||||
{
|
||||
PartyGuid = logData.PartyGuid;
|
||||
PartyName = logData.PartyName;
|
||||
PartyLeaderCharGuid = logData.PartyLeaderCharGuid;
|
||||
PartyMemberCount = logData.PartyMemberCount;
|
||||
CreatePartyTime = logData.CreatePartyTime;
|
||||
DestroyPartyTime = logData.DestroyPartyTime;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user