55 lines
1.3 KiB
C#
55 lines
1.3 KiB
C#
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;
|
|
}
|
|
}
|