using System;
using System.Collections.Generic;

namespace CouponReport.Models.Parkingeyes;

public partial class ParkingLot
{
    /// <summary>
    /// 車格序號
    /// </summary>
    public string LotId { get; set; } = null!;

    /// <summary>
    /// 車格編號
    /// </summary>
    public string? LotNo { get; set; }

    /// <summary>
    /// 別名
    /// </summary>
    public string? AliasName { get; set; }

    /// <summary>
    /// 啟用否
    /// </summary>
    public string? Enable { get; set; }

    /// <summary>
    /// 隸屬攝影機
    /// </summary>
    public string CameraId { get; set; } = null!;

    /// <summary>
    /// 上次事件
    /// </summary>
    public string? LastEvent { get; set; }

    /// <summary>
    /// 車格排序
    /// </summary>
    public decimal SortOrder { get; set; }

    /// <summary>
    /// 是否為充電車格
    /// </summary>
    public bool IsChargePole { get; set; }

    /// <summary>
    /// 是否是後拍
    /// </summary>
    public bool IsBackShot { get; set; }

    public virtual Camera Camera { get; set; } = null!;

    public virtual ICollection<EventLog> EventLogs { get; set; } = new List<EventLog>();

    public virtual ICollection<AlertSetting> Alerts { get; set; } = new List<AlertSetting>();

    public virtual ICollection<Division> Divisions { get; set; } = new List<Division>();
}
