You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
719 B
35 lines
719 B
// 闸口数据相关VO类型定义 |
|
|
|
import { Coordinates, GateStation } from '../dto/gate.dto' |
|
|
|
// 闸口数据记录VO |
|
export interface GateDataRecordVO { |
|
id: string |
|
stationId: string |
|
stationName: string |
|
flowValue: number |
|
images: string[] |
|
location: Coordinates |
|
remark?: string |
|
createTime: string |
|
status: 'pending' | 'approved' | 'rejected' |
|
} |
|
|
|
// 闸口数据详情VO |
|
export interface GateDataDetailVO extends GateDataRecordVO { |
|
station: GateStation |
|
uploader: { |
|
id: string |
|
name: string |
|
avatar?: string |
|
} |
|
} |
|
|
|
// 闸口数据统计VO |
|
export interface GateDataStatsVO { |
|
totalRecords: number |
|
todayRecords: number |
|
avgFlowValue: number |
|
maxFlowValue: number |
|
minFlowValue: number |
|
} |