import 'package:drift/drift.dart';

@DataClassName('DriftFavouriteDetail')
class FavouriteDetails extends Table {
  IntColumn get id => integer().autoIncrement()();
  TextColumn get relatedId => text().withDefault(const Constant(''))();
  TextColumn get content => text().withDefault(const Constant(''))();
  IntColumn get typ => integer().nullable()();
  IntColumn get messageId => integer().nullable()();
  IntColumn get sendId => integer().nullable()();
  IntColumn get chatId => integer().nullable()();
  IntColumn get sendTime => integer().nullable()();

  @override
  String get tableName => 'favourite_detail';
}
