54 lines
1.5 KiB
C#
54 lines
1.5 KiB
C#
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerCore;
|
|
using ServerBase;
|
|
|
|
|
|
using META_ID = System.UInt32;
|
|
using USER_GUID = System.String;
|
|
using BEACON_GUID = System.String;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
public class BeaconShopSoldPriceLogData : ILogInvoker.IInfo
|
|
{
|
|
public BeaconShopSoldPriceLogData()
|
|
: base()
|
|
{ }
|
|
|
|
[JsonProperty]
|
|
public USER_GUID UserGuid { get; set; } = string.Empty;
|
|
|
|
[JsonProperty]
|
|
public BEACON_GUID BeaconGuid { get; set; } = string.Empty;
|
|
|
|
[JsonProperty]
|
|
public double deltaPrice { get; set; } = 0;
|
|
|
|
[JsonProperty]
|
|
public double deltaTaxPrice { get; set; } = 0;
|
|
|
|
//=====================================================================================
|
|
// 로그 생성용 객체 정의
|
|
//=====================================================================================
|
|
|
|
public void setItemInfo(BeaconShopSoldPriceLogData logData)
|
|
{
|
|
UserGuid = logData.UserGuid;
|
|
BeaconGuid = logData.BeaconGuid;
|
|
deltaPrice = logData.deltaPrice;
|
|
deltaTaxPrice = logData.deltaTaxPrice;
|
|
}
|
|
|
|
//=====================================================================================
|
|
// 로그 출력용 객체 정의
|
|
//=====================================================================================
|
|
public BeaconShopSoldPriceLogData(ILogInvoker parent, BeaconShopSoldPriceLogData itemParam)
|
|
: base(parent)
|
|
{
|
|
setItemInfo(itemParam);
|
|
}
|
|
}
|