using System;
using System.Collections.Generic;

namespace CouponReport.Models.Parkingeyes;

public partial class CarEnter
{
    public string StationId { get; set; } = null!;

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

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

    public string? CarNoSimple { get; set; }

    public string? GridNumber { get; set; }

    public string? Etag { get; set; }

    public string? LaneNo { get; set; }

    public int ErrorCode { get; set; }

    public string? SourceDeviceId { get; set; }

    public int EnterType { get; set; }

    public int IsStationInside { get; set; }

    public int IsGridInside { get; set; }

    public DateTime EnterDateTime { get; set; }

    public DateTime? ValuationDateTime { get; set; }

    public DateTime? DepartureDateTime { get; set; }

    public DateTime? LimitedTimeDeparture { get; set; }

    public string? EnterPhotoPath { get; set; }

    public string? EnterPhotoUrlPath { get; set; }

    public int? Pay { get; set; }

    public string? PayType { get; set; }

    public DateTime? PayDateTime { get; set; }

    public string? PayDeviceId { get; set; }

    public DateTime? CreationDate { get; set; }

    public DateTime? UpdateDate { get; set; }

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

    public string? Remark { get; set; }

    public int CarIdentity { get; set; }

    public string? DepartureLaneNo { get; set; }

    public string? DepartureSourceDeviceId { get; set; }

    public string? DeparturePhotoPath { get; set; }

    public string? DeparturePhotoUrlPath { get; set; }

    /// <summary>
    /// 資料處理的方式(0:一般, 1:程式處理)
    /// </summary>
    public int DataHandleType { get; set; }

    /// <summary>
    /// 從雲端建立資料
    /// </summary>
    public int CreateFromCloud { get; set; }

    public DateTime? OriginalDepartureDateTime { get; set; }
}
