添加文案处理的功能
This commit is contained in:
@@ -13,7 +13,8 @@ export class BookModel extends Realm.Object<BookModel> {
|
||||
audioPath: string | null
|
||||
updateTime: Date
|
||||
createTime: Date
|
||||
test: string | null
|
||||
version: string
|
||||
subtitlePosition: string | null
|
||||
|
||||
static schema: ObjectSchema = {
|
||||
name: 'Book',
|
||||
@@ -29,7 +30,8 @@ export class BookModel extends Realm.Object<BookModel> {
|
||||
imageFolder: 'string?',
|
||||
updateTime: 'date',
|
||||
createTime: 'date',
|
||||
test: 'string?'
|
||||
version: 'string',
|
||||
subtitlePosition: 'string?'
|
||||
},
|
||||
// 主键为_id
|
||||
primaryKey: 'id'
|
||||
|
||||
Reference in New Issue
Block a user