using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EVCB_OCPP.TaskScheduler.Models
{
public class Transaction
{
public int Id { get; set; }
///
/// 客戶代碼
///
public Guid CustomerId { get; set; }
///
/// 槍號 1 byte string、本來是 string、改為byte
///
public byte ConnectorId { get; set; }
///
/// TransactionId
///
public int TransactionId { get; set; }
///
/// chargePointSerialNumber
///
public string ChargeBoxId { get; set; }
///
/// StartIdTag
///
public string StartIdTag { get; set; }
///
/// StopIdTag
///
public string StopIdTag { get; set; }
///
/// 開始充電開始時間
///
public DateTime StartTime { get; set; }
///
/// 充電結束時間
///
public DateTime StopTime { get; set; }
///
/// 預約Id
///
public int ReservationId { set; get; }
///
/// 停止原因No
///
public int StopReasonId { set; get; }
///
/// 開始meter
///
public decimal MeterStart { get; set; }
///
/// 結束meter
///
public decimal MeterStop { get; set; }
///
/// 開始充電的回報時間
///
public DateTime StartTransactionReportedOn { get; set; }
///
/// 開始充電回報的次數
///
public int RetryStartTransactionTimes { get; set; }
///
/// 結束充電的回報時間
///
public DateTime StopTransactionReportedOn { get; set; }
///
/// 結束充電回報的次數
///
public int RetryStopTransactionTimes { get; set; }
///
/// 回調客戶API,問題紀錄
///
public string ErrorMsg { set; get; }
///
///費率
///
public string Fee { set; get; }
///
/// 收據
///
public string Receipt { set; get; }
public decimal Cost { set; get; }
}
}