초기커밋
This commit is contained in:
56
ServerCommon/1. Define/BusinessLog/Domain/TaxiLogInfo.cs
Normal file
56
ServerCommon/1. Define/BusinessLog/Domain/TaxiLogInfo.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerBase;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class TaxiLogInfo : ILogInvoker.IInfo
|
||||
{
|
||||
[JsonProperty]
|
||||
public int TaxiMID { get; set; }
|
||||
[JsonProperty]
|
||||
public string TaxiType { get; set; } = string.Empty; // TaxiType
|
||||
[JsonProperty]
|
||||
public int Cost { get; set; }
|
||||
[JsonProperty]
|
||||
public int UnloadingWorldId { get; set; }
|
||||
[JsonProperty]
|
||||
public int UnloadingLandId { get; set; }
|
||||
[JsonProperty]
|
||||
public int UnloadingFloor { get; set; }
|
||||
[JsonProperty]
|
||||
public Pos UnloadingPos { get; set; } = new Pos();
|
||||
|
||||
public TaxiLogInfo()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
public TaxiLogInfo(ILogInvoker parent, TaxiLogInfo logParam)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != logParam)
|
||||
{
|
||||
setTaxiInfo(logParam);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTaxiInfo(TaxiLogInfo logInfo)
|
||||
{
|
||||
TaxiMID = logInfo.TaxiMID;
|
||||
TaxiType = logInfo.TaxiType;
|
||||
Cost = logInfo.Cost;
|
||||
UnloadingWorldId = logInfo.UnloadingWorldId;
|
||||
UnloadingLandId = logInfo.UnloadingLandId;
|
||||
UnloadingFloor = logInfo.UnloadingFloor;
|
||||
UnloadingPos = logInfo.UnloadingPos;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user