import { Model } from '@nozbe/watermelondb';
import { field, date } from '@nozbe/watermelondb/decorators';

export default class Category extends Model {
  static table = 'categories';

  @field('name') name!: string;
  @field('color') color!: string;
  @field('order') order!: number;
  @date('created_at') createdAt!: Date;
  @date('updated_at') updatedAt!: Date;
}