import { DateTime } from 'luxon'
import { BaseModel, column } from '@ioc:Adonis/Lucid/Orm'

export default class LogDetectFile extends BaseModel {

  public static table = 'log_detect_files'

  @column({ isPrimary: true })
  public id_ldf: number

  @column()
  public file_name: string

  @column()
  public last_check_SN: number

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

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