using System;
using System.Collections.Generic;

namespace CouponReport.Models.Parkingeyes;

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

    public DateTime? UpdateDate { get; set; }

    /// <summary>
    /// 帳單編號
    /// </summary>
    public Guid BillingNo { get; set; }

    /// <summary>
    /// 金額
    /// </summary>
    public decimal TotalAmount { get; set; }

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

    public string CarNo { get; set; } = null!;

    public DateTime ValuationDateTime { get; set; }

    public DateTime LimitedTimeDeparture { get; set; }

    /// <summary>
    /// 付款時間
    /// </summary>
    public DateTime? PaidDateTime { get; set; }

    /// <summary>
    /// 繳費裝置
    /// </summary>
    public string? PayDeviceId { get; set; }

    public virtual ICollection<ChargingBillDetail> ChargingBillDetails { get; set; } = new List<ChargingBillDetail>();

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