초기커밋
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerBase;
|
||||
|
||||
|
||||
using RESERVATION_GUID = System.String;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class TaskReservationLogData : ILogInvoker.IInfo
|
||||
{
|
||||
public TaskReservationLogData()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
[JsonProperty]
|
||||
public RESERVATION_GUID ReservationGuid { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public TaskReservationActionType ReservationType { get; set; } = TaskReservationActionType.None;
|
||||
[JsonProperty]
|
||||
public string JsonValue { get; set; } = string.Empty;
|
||||
|
||||
//=====================================================================================
|
||||
// 로그 생성용 객체 정의
|
||||
//=====================================================================================
|
||||
|
||||
public void setItemInfo(TaskReservationLogData logData)
|
||||
{
|
||||
ReservationGuid = logData.ReservationGuid;
|
||||
ReservationType = logData.ReservationType;
|
||||
JsonValue = logData.JsonValue;
|
||||
}
|
||||
|
||||
//=====================================================================================
|
||||
// 로그 출력용 객체 정의
|
||||
//=====================================================================================
|
||||
public TaskReservationLogData(ILogInvoker parent, TaskReservationLogData itemParam)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != itemParam)
|
||||
{
|
||||
setItemInfo(itemParam);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user