using System;
using System.Collections.Generic;

namespace CouponReport.Models.Parkingeyes;

public partial class ChargingSession
{
    public DateTime CreationDate { get; set; }

    /// <summary>
    /// 充電資訊ID
    /// </summary>
    public Guid Id { get; set; }

    /// <summary>
    /// 外部充電資訊Id
    /// </summary>
    public string ExternalSessionId { get; set; } = null!;

    public string? ExternalSerialNo { get; set; }

    /// <summary>
    /// 進場序號
    /// </summary>
    public string? SerialNo { get; set; }

    /// <summary>
    /// 車格號
    /// </summary>
    public string LotNo { get; set; } = null!;

    /// <summary>
    /// 起始時間
    /// </summary>
    public DateTime StartTime { get; set; }

    /// <summary>
    /// 結束時間
    /// </summary>
    public DateTime EndTime { get; set; }

    /// <summary>
    /// 充電秒數
    /// </summary>
    public int? ChargeSec { get; set; }

    /// <summary>
    /// 充電瓦數
    /// </summary>
    public int? ChargeKwh { get; set; }

    /// <summary>
    /// 充電狀態
    /// </summary>
    public string ChargeStatus { get; set; } = null!;

    /// <summary>
    /// 是否有充電行為
    /// </summary>
    public bool IsChargeAction { get; set; }

    public virtual ICollection<ChargingBillSession> ChargingBillSessions { get; set; } = new List<ChargingBillSession>();
}
