46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using Newtonsoft.Json;
|
|
|
|
using ServerBase;
|
|
|
|
using META_ID = System.UInt32;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
public class PackageStateData : ILogInvoker.IInfo
|
|
{
|
|
public PackageStateData()
|
|
: base()
|
|
{ }
|
|
|
|
[JsonProperty]
|
|
public string orderGuid { get; set; } = string.Empty;
|
|
[JsonProperty]
|
|
public BillingStateType billingStateLogType { get; set; } = BillingStateType.none;
|
|
[JsonProperty]
|
|
public string errMsg { get; set; } = string.Empty;
|
|
|
|
//=====================================================================================
|
|
// 로그 생성용 객체 정의
|
|
//=====================================================================================
|
|
|
|
public void setItemInfo(PackageStateData logData)
|
|
{
|
|
orderGuid = logData.orderGuid;
|
|
billingStateLogType = logData.billingStateLogType;
|
|
errMsg = logData.errMsg;
|
|
}
|
|
|
|
//=====================================================================================
|
|
// 로그 출력용 객체 정의
|
|
//=====================================================================================
|
|
public PackageStateData(ILogInvoker parent, PackageStateData itemParam)
|
|
: base(parent)
|
|
{
|
|
if (null != itemParam)
|
|
{
|
|
setItemInfo(itemParam);
|
|
}
|
|
}
|
|
}
|