You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
315 B

import 'package:dde_gesture_manager/dde_gesture_manager.dart';
class Model extends ManagedObject<_Model> implements _Model {
@override
void willInsert() {
createdAt = DateTime.now().toUtc();
}
}
class _Model {
@primaryKey
int? id;
@Column(indexed: true)
String? name;
DateTime? createdAt;
}