import AppBaseModel from 'App/Models/AppBaseModel'
import { column } from '@ioc:Adonis/Lucid/Orm'
import { DateTime } from 'luxon'

export default class OcrDevice extends AppBaseModel {
    @column({ isPrimary: true })
    public id: string

    @column.dateTime({ autoCreate: true })
    public createdAt: DateTime

    @column.dateTime({ autoCreate: true, autoUpdate: true })
    public updatedAt: DateTime

    @column()
    public platform: string

    @column()
    public deviceInfo: string

    @column()
    public channel: string

    @column()
    public total: number

    @column()
    public scanned: number

    @column()
    public ipAddress:string
}
