import { PlanStepSchema } from '#database/schema'
import { belongsTo } from '@adonisjs/lucid/orm'
import type { BelongsTo } from '@adonisjs/lucid/types/relations'
import Plan from '#models/plan'

export default class PlanStep extends PlanStepSchema {
  @belongsTo(() => Plan)
  declare plan: BelongsTo<typeof Plan>
}
