DVStudioModelSpec constructor
const
DVStudioModelSpec({
- required String model,
- required String table,
- required String key,
- required List<
DVStudioFieldSpec> fields, - bool tenantScoped = false,
- bool versioned = true,
- bool softDelete = false,
- DVConflict? offline,
- bool capture = false,
- String? module,
- DVModuleData? data,
- List<
DVStudioIndexSpec> indexes = const <DVStudioIndexSpec>[], - DVModelAccess? access,
- DVStudioModelOrigin origin = DVStudioModelOrigin.code,
Implementation
const DVStudioModelSpec({
required this.model,
required this.table,
required this.key,
required this.fields,
this.tenantScoped = false,
this.versioned = true,
this.softDelete = false,
this.offline,
this.capture = false,
this.module,
this.data,
this.indexes = const <DVStudioIndexSpec>[],
this.access,
this.origin = DVStudioModelOrigin.code,
});