wangzhibo
4 天以前 c19f1f7e21c93d1f13b4f44a8a615f65af577559
src/modules/push/entity/sorterhealth.ts
@@ -19,22 +19,26 @@
    @Column({ comment: '数据时间' })
    uploadTime: Date;
    @Column({ comment: '体温', type: 'decimal', precision: 3, scale: 1 })
    @Column({ comment: '体温', type: 'decimal', precision: 3, scale: 1, nullable: true })
    temperature: number;
    @Column({ comment: '心率' })
    @Column({ comment: '心率', nullable: true })
    heartRate: number;
    @Column({ comment: '收缩压' })
    @Column({ comment: '收缩压', nullable: true })
    bloodPressureHigh: number;
    @Column({ comment: '舒张压' })
    @Column({ comment: '舒张压', nullable: true })
    bloodPressureLow: number;
    @Column({ comment: '血氧饱和度', type: 'decimal', precision: 4, scale: 1 })
    @Column({ comment: '血氧饱和度', type: 'decimal', precision: 4, scale: 1, nullable: true })
    bloodOxygen: number;
    // add more if needed
    @Column({ comment: '步数', nullable: true, default: 0 })
    stepCount: number;
    @Column({ comment: '数据类型', dict: ['周期', '平均', '异常'], default: '周期', nullable: true })
    dataType: string;
}