MsgModelSchema top-level constant
CollectionSchema<MsgModel>
const MsgModelSchema
Implementation
const MsgModelSchema = CollectionSchema(
name: r'MsgModel',
id: -3450809804253682902,
properties: {
r'atUsers': PropertySchema(
id: 0,
name: r'atUsers',
type: IsarType.stringList,
),
r'clientMsgId': PropertySchema(
id: 1,
name: r'clientMsgId',
type: IsarType.string,
),
r'clientTime': PropertySchema(
id: 2,
name: r'clientTime',
type: IsarType.long,
),
r'content': PropertySchema(
id: 3,
name: r'content',
type: IsarType.string,
),
r'contentType': PropertySchema(
id: 4,
name: r'contentType',
type: IsarType.long,
),
r'convId': PropertySchema(
id: 5,
name: r'convId',
type: IsarType.string,
),
r'deleted': PropertySchema(
id: 6,
name: r'deleted',
type: IsarType.bool,
),
r'ext': PropertySchema(
id: 7,
name: r'ext',
type: IsarType.string,
),
r'offlinePush': PropertySchema(
id: 8,
name: r'offlinePush',
type: IsarType.object,
target: r'MsgOfflinePushModel',
),
r'options': PropertySchema(
id: 9,
name: r'options',
type: IsarType.object,
target: r'MsgOptionsModel',
),
r'sendProgress': PropertySchema(
id: 10,
name: r'sendProgress',
type: IsarType.long,
),
r'sendStatus': PropertySchema(
id: 11,
name: r'sendStatus',
type: IsarType.long,
),
r'senderId': PropertySchema(
id: 12,
name: r'senderId',
type: IsarType.string,
),
r'senderInfo': PropertySchema(
id: 13,
name: r'senderInfo',
type: IsarType.string,
),
r'seq': PropertySchema(
id: 14,
name: r'seq',
type: IsarType.long,
),
r'serverMsgId': PropertySchema(
id: 15,
name: r'serverMsgId',
type: IsarType.string,
),
r'serverTime': PropertySchema(
id: 16,
name: r'serverTime',
type: IsarType.long,
)
},
estimateSize: _msgModelEstimateSize,
serialize: _msgModelSerialize,
deserialize: _msgModelDeserialize,
deserializeProp: _msgModelDeserializeProp,
idName: r'id',
indexes: {
r'clientMsgId': IndexSchema(
id: 4995524746589355915,
name: r'clientMsgId',
unique: false,
replace: false,
properties: [
IndexPropertySchema(
name: r'clientMsgId',
type: IndexType.hash,
caseSensitive: true,
)
],
),
r'senderId': IndexSchema(
id: -1619654757968658561,
name: r'senderId',
unique: false,
replace: false,
properties: [
IndexPropertySchema(
name: r'senderId',
type: IndexType.hash,
caseSensitive: true,
)
],
),
r'convId': IndexSchema(
id: -7030550945641449152,
name: r'convId',
unique: false,
replace: false,
properties: [
IndexPropertySchema(
name: r'convId',
type: IndexType.hash,
caseSensitive: true,
)
],
),
r'contentType': IndexSchema(
id: -4813096802902836239,
name: r'contentType',
unique: false,
replace: false,
properties: [
IndexPropertySchema(
name: r'contentType',
type: IndexType.value,
caseSensitive: false,
)
],
),
r'content': IndexSchema(
id: 6193209363630369380,
name: r'content',
unique: false,
replace: false,
properties: [
IndexPropertySchema(
name: r'content',
type: IndexType.hash,
caseSensitive: true,
)
],
)
},
links: {},
embeddedSchemas: {
r'MsgOptionsModel': MsgOptionsModelSchema,
r'MsgOfflinePushModel': MsgOfflinePushModelSchema
},
getId: _msgModelGetId,
getLinks: _msgModelGetLinks,
attach: _msgModelAttach,
version: '3.0.2',
);