Files
caliverse_server/ServerCommon/1. Define/BusinessLog/Domain/SocialActionSlotExchangeLogInfo.cs
2025-05-01 07:20:41 +09:00

48 lines
1.1 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 SocialActionSlotExchangeLogInfo : ILogInvoker.IInfo
{
[JsonProperty]
public string UserGuid { get; set; } = string.Empty;
[JsonProperty]
public int SocialActionSlot { get; set; }
[JsonProperty]
public int OldSocialActionMetaId { get; set; }
[JsonProperty]
public int NewSocialActionMetaId { get; set; }
public SocialActionSlotExchangeLogInfo()
: base()
{ }
public SocialActionSlotExchangeLogInfo(ILogInvoker parent, SocialActionSlotExchangeLogInfo logParam)
: base(parent)
{
if (null != logParam)
{
setSocialActionInfo(logParam);
}
}
public void setSocialActionInfo(SocialActionSlotExchangeLogInfo logInfo)
{
UserGuid = logInfo.UserGuid;
SocialActionSlot = logInfo.SocialActionSlot;
OldSocialActionMetaId = logInfo.OldSocialActionMetaId;
NewSocialActionMetaId = logInfo.NewSocialActionMetaId;
}
}