import 'package:drift/drift.dart';

@DataClassName('DriftSound')
class Sounds extends Table {
  IntColumn get id => integer()();
  TextColumn get filePath => text().withDefault(const Constant(''))();
  IntColumn get typ => integer()();
  TextColumn get name => text().withDefault(const Constant(''))();
  IntColumn get createdAt => integer()();
  IntColumn get updatedAt => integer()();
  IntColumn get deletedAt => integer().withDefault(const Constant(0))();
  IntColumn get channelGroupId => integer()();
  IntColumn get isDefault => integer()();

  @override
  Set<Column> get primaryKey => {id};

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