ConvModelSchema top-level constant

CollectionSchema<ConvModel> const ConvModelSchema

Implementation

const ConvModelSchema = CollectionSchema(
  name: r'ConvModel',
  id: -3815468939617515110,
  properties: {
    r'clientMsgId': PropertySchema(
      id: 0,
      name: r'clientMsgId',
      type: IsarType.string,
    ),
    r'convId': PropertySchema(
      id: 1,
      name: r'convId',
      type: IsarType.string,
    ),
    r'convType': PropertySchema(
      id: 2,
      name: r'convType',
      type: IsarType.long,
    ),
    r'deleted': PropertySchema(
      id: 3,
      name: r'deleted',
      type: IsarType.bool,
    ),
    r'draftModel': PropertySchema(
      id: 4,
      name: r'draftModel',
      type: IsarType.object,
      target: r'DraftModel',
    ),
    r'hidden': PropertySchema(
      id: 5,
      name: r'hidden',
      type: IsarType.bool,
    ),
    r'noticeId': PropertySchema(
      id: 6,
      name: r'noticeId',
      type: IsarType.string,
    ),
    r'time': PropertySchema(
      id: 7,
      name: r'time',
      type: IsarType.long,
    ),
    r'unreadCount': PropertySchema(
      id: 8,
      name: r'unreadCount',
      type: IsarType.long,
    )
  },
  estimateSize: _convModelEstimateSize,
  serialize: _convModelSerialize,
  deserialize: _convModelDeserialize,
  deserializeProp: _convModelDeserializeProp,
  idName: r'id',
  indexes: {
    r'convId': IndexSchema(
      id: -7030550945641449152,
      name: r'convId',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'convId',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r'convType': IndexSchema(
      id: 6593274480720196002,
      name: r'convType',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'convType',
          type: IndexType.value,
          caseSensitive: false,
        )
      ],
    ),
    r'clientMsgId': IndexSchema(
      id: 4995524746589355915,
      name: r'clientMsgId',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'clientMsgId',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r'noticeId': IndexSchema(
      id: -4304276775649609611,
      name: r'noticeId',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'noticeId',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    ),
    r'unreadCount': IndexSchema(
      id: 1929747360533418796,
      name: r'unreadCount',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'unreadCount',
          type: IndexType.value,
          caseSensitive: false,
        )
      ],
    )
  },
  links: {},
  embeddedSchemas: {r'DraftModel': DraftModelSchema},
  getId: _convModelGetId,
  getLinks: _convModelGetLinks,
  attach: _convModelAttach,
  version: '3.1.0+1',
);