| 123456789101112131415161718192021222324252627282930313233343536373839 |
- package response
- import (
- "wails-app/internal/dao"
- "time"
- )
- type UHFReader struct {
- dao.UHFReader
- }
- type UHFReaderResponse struct {
- ID uint `json:"id"`
- DeviceCode string `json:"device_code"`
- DeviceName string `json:"device_name"`
- ConnectType string `json:"connect_type"`
- IPAddress string `json:"ip_address"`
- Port int `json:"port"`
- COMPort string `json:"com_port"`
- BaudRate int `json:"baud_rate"`
- Status string `json:"status"`
- IsActive bool `json:"is_active"`
- Description string `json:"description"`
- ParkingLotID uint `json:"parking_lot_id"`
- CreatedAt time.Time `json:"created_at"`
- UpdatedAt time.Time `json:"updated_at"`
- }
- type UHFReaderList struct {
- Total int64 `json:"total"`
- List []UHFReaderResponse `json:"list"`
- }
- type TagReadResult struct {
- ReaderID uint `json:"reader_id"`
- DeviceCode string `json:"device_code"`
- TagUII string `json:"tag_uii"`
- ReadTime int64 `json:"read_time"`
- }
|