export interface StationID { createdAt: string; updatedAt: string; id: string; snapshot: string; self_active_status_fk: string; business_hours_fk: string; qr_code: string; image: string; price: number; pricemodel_id: string; } export interface EquipmentID { createdAt: string; updatedAt: string; id: string; equipmentID: string; equipmentLat: number; equipmentLng: number; equipmentType: number; equipmentName: string; equipmentModel: string; power: number; StationID: StationID; } export interface Connector { createdAt: string; updatedAt: string; id: string; connectorID: string; voltageLowerLimits: number; connectorType: number; voltageUpperLimits: number; nationalStandard: number; connectorName: string; current: number; park: number; power: number; status: string; Parkstatus: string; Lockstatus: string; EquipmentID: EquipmentID; } export interface User { createdAt: string; updatedAt: string; id: string; firstname?: any; lastname?: any; nickname: string; email: string; password: string; phone: string; ic_card: string; wallet: number; icon_url?: any; remark?: any; address?: any; status_fk: string; gender: string; birthday: string; ic_car_id?: any; notify_session_id: string; } export interface Statu { id: string; createdAt: string; updatedAt: string; description: string; } export interface Car_brand { createdAt: string; updatedAt: string; id: string; name: string; img_url: string; } export interface Car_type { createdAt: string; updatedAt: string; id: string; name: string; capacitance: number; capacitance_unit: string; type_image_url?: any; } export interface Car { createdAt: string; updatedAt: string; id: string; license_plate: string; car_brand: Car_brand; car_type: Car_type; } export interface Charging { createdAt: string; updatedAt: string; id: string; penaltyTotalTime: string; penaltyFee: string; leaving_time: string; } export interface ChargingDetails { createdAt: string; updatedAt: string; id: string; book_time: string; end_time: string; actual_start_time: string; actual_end_time: string; actual_total_power: number; total_power: number; type: string; penalty_fee: number; total_fee: number; snapshot: string; remark: string; pricemodel_id?: any; promotion_name?: any; promotion_msg?: any; format_order_id: string; soc: number; paid_status: boolean; penalty_paid_status: boolean; withdraw_fee: number; connector: Connector; user: User; status: Statu; car: Car; charging: Charging []; } export interface Remark { EndTime: string; OffService: number; PeakCharge: number; StartTime: string; PeakKwh: number; ElseService: number; OffCharge: number; RushKwh: number; ElseCharge: number; PeakService: number; TotalPower: number; StartChargeSeq: string; RushCharge: number; TotalElectMoney: number; OffKwh: number; TotalServiceMoney: number; PriceModelID: number; TotalMoney: number; RushService: number; StopReason: number; ConnectorID: string; ElseKwh: number; } export interface Mon { from: string; to: string; price: number; } export interface Tue { from: string; to: string; price: number; } export interface Wed { from: string; to: string; price: number; } export interface Thu { from: string; to: string; price: number; } export interface Fri { from: string; to: string; price: number; } export interface Sat { from: string; to: string; price: number; } export interface Sun { from: string; to: string; price: number; } export interface Special { from: string; to: string; price: number; } export interface PriceWeek { mon: Mon; tue: Tue; wed: Wed; thu: Thu; fri: Fri; sat: Sat; sun: Sun; } export interface ElectricityPrice extends PriceWeek { createdAt: string; updatedAt: string; id: string; event_name: string; special: Special; is_active: boolean; expire_date: string; pricemodel_id: string; }