models

package
v0.0.0-...-42d5c12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OcppApplication

type OcppApplication struct {
	ID   string `gorm:"column:id"`
	Name string `gorm:"column:name"`
}

OcppApplication is an object representing the database table.

func (OcppApplication) TableName

func (OcppApplication) TableName() string

type OcppApplicationCallback

type OcppApplicationCallback struct {
	ID            int32  `gorm:"column:id"`
	ApplicationID string `gorm:"column:application_id"`
	CallbackEvent string `gorm:"column:callback_event"`
	CallbackURL   string `gorm:"column:callback_url"`
}

OcppApplicationCallback is an object representing the database table.

func (OcppApplicationCallback) TableName

func (OcppApplicationCallback) TableName() string

type OcppChargePoint

type OcppChargePoint struct {
	ID                      int32  `gorm:"column:id"`
	EntityCode              string `gorm:"column:entity_code"`
	ChargePointIdentifier   string `gorm:"column:charge_point_identifier"`
	OcppProtocol            string `gorm:"column:ocpp_protocol"`
	ChargePointVendor       string `gorm:"column:charge_point_vendor"`
	ChargePointModel        string `gorm:"column:charge_point_model"`
	ChargePointSerialNumber string `gorm:"column:charge_point_serial_number"`
	ChargeBoxSerialNumber   string `gorm:"column:charge_box_serial_number"`
	Iccid                   string `gorm:"column:iccid"`
	Imsi                    string `gorm:"column:imsi"`
	MeterType               string `gorm:"column:meter_type"`
	MeterSerialNumber       string `gorm:"column:meter_serial_number"`
	FirmwareVersion         string `gorm:"column:firmware_version"`
	ConnectorCount          int32  `gorm:"column:connector_count"`
}

OcppChargePoint is an object representing the database table.

func (OcppChargePoint) TableName

func (OcppChargePoint) TableName() string

type OcppChargePointIDTag

type OcppChargePointIDTag struct {
	ID            int32  `gorm:"column:id"`
	ChargePointID int32  `gorm:"column:charge_point_id"`
	IDTag         string `gorm:"column:id_tag"`
}

OcppChargePointIDTag is an object representing the database table.

func (OcppChargePointIDTag) TableName

func (OcppChargePointIDTag) TableName() string

type OcppStatusNotification

type OcppStatusNotification struct {
	ID                int32     `gorm:"column:id"`
	ChargePointID     int32     `gorm:"column:charge_point_id"`
	ConnectorID       int32     `gorm:"column:connector_id"`
	ErrorCode         string    `gorm:"column:error_code"`
	Info              string    `gorm:"column:info"`
	Status            string    `gorm:"column:status"`
	VendorID          string    `gorm:"column:vendor_id"`
	VendorErrorCode   string    `gorm:"column:vendor_error_code"`
	Timestamp         time.Time `gorm:"column:timestamp"`
	ReportedTimestamp time.Time `gorm:"column:reported_timestamp"`
}

OcppStatusNotification is an object representing the database table.

func (OcppStatusNotification) TableName

func (OcppStatusNotification) TableName() string

type OcppTransaction

type OcppTransaction struct {
	ID              int32     `gorm:"column:id"`
	ChargePointID   int32     `gorm:"column:charge_point_id"`
	ConnectorID     int32     `gorm:"column:connector_id"`
	IDTag           string    `gorm:"column:id_tag"`
	State           string    `gorm:"column:state"`
	RemoteInitiated bool      `gorm:"column:remote_initiated"`
	StartTimestamp  time.Time `gorm:"column:start_timestamp"`
	StopTimestamp   time.Time `gorm:"column:stop_timestamp"`
	StartMeterValue int32     `gorm:"column:start_meter_value"`
	StopMeterValue  int32     `gorm:"column:stop_meter_value"`
	StopReason      string    `gorm:"column:stop_reason"`
}

OcppTransaction is an object representing the database table.

func (OcppTransaction) TableName

func (OcppTransaction) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL