api/app/models/colle_attachment.ts
2025-08-19 20:07:38 +02:00

15 lines
No EOL
278 B
TypeScript

import { BaseModel, column } from '@adonisjs/lucid/orm'
export default class ColleAttachment extends BaseModel {
@column({ isPrimary: true })
declare id: number
@column()
declare colleId: number
@column()
declare name: string
@column()
declare path: string
}