초기커밋
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user