31 lines
948 B
C#
31 lines
948 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using ServerCommon;
|
|
using ServerCommon.BusinessLogDomain;
|
|
|
|
|
|
namespace GameServer
|
|
{
|
|
static public class TaskReservationBusinessLogHelper
|
|
{
|
|
static public TaskReservationLogData toLogInfo(TaskReservationAttribute task_reservation_attribute)
|
|
{
|
|
var taskReservation = new TaskReservationLogData();
|
|
taskReservation.setInfo(task_reservation_attribute);
|
|
return taskReservation;
|
|
}
|
|
|
|
static public void setInfo(this TaskReservationLogData logData, TaskReservationAttribute task_reservation_attribute)
|
|
{
|
|
logData.ReservationGuid = task_reservation_attribute.ReservationGuid;
|
|
logData.ReservationType = task_reservation_attribute.ReservationType;
|
|
logData.JsonValue = task_reservation_attribute.JsonValue;
|
|
}
|
|
}
|
|
}
|