초기커밋
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
using Newtonsoft.Json;
|
||||
using ServerCore; using ServerBase;
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class PartyMemberLogData : ILogInvoker.IInfo
|
||||
{
|
||||
[JsonProperty] public string PartyGuid { get; set; } = string.Empty;
|
||||
[JsonProperty] public string UserGuid { get; set; } = string.Empty;
|
||||
[JsonProperty] public PartyMemberActionType PartyMemberActionType { get; set; } = PartyMemberActionType.None;
|
||||
[JsonProperty] public DateTime PartyMemberActionTime { get; set; } = DateTimeHelper.Current;
|
||||
|
||||
public PartyMemberLogData()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
public PartyMemberLogData(ILogInvoker parent, PartyMemberLogData logParam)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != logParam)
|
||||
{
|
||||
setPartyInfo(logParam);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPartyInfo(PartyMemberLogData logData)
|
||||
{
|
||||
PartyGuid = logData.PartyGuid;
|
||||
UserGuid = logData.UserGuid;
|
||||
PartyMemberActionType = logData.PartyMemberActionType;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user