import { field, type Infer, type Schema } from "../modules/schema.ts";
export const UserSuspensionsSchema = {
user_id: field('integer'),
source: field('text'),
reference: field('text'),
start_date: field('timestamp'),
end_date: field('timestamp'),
days: field('integer'),
award_date: field('timestamp'),
deleted_at: field('timestamp', { nullable: true })
} satisfies Schema;
export type UserSuspensionType = Infer<typeof UserSuspensionsSchema>