NoticeModelSchema top-level constant

CollectionSchema<NoticeModel> const NoticeModelSchema

Implementation

const NoticeModelSchema = CollectionSchema(
  name: r'NoticeModel',
  id: 4188865387800949871,
  properties: {
    r'content': PropertySchema(
      id: 0,
      name: r'content',
      type: IsarType.string,
    ),
    r'contentType': PropertySchema(
      id: 1,
      name: r'contentType',
      type: IsarType.long,
    ),
    r'convId': PropertySchema(
      id: 2,
      name: r'convId',
      type: IsarType.string,
    ),
    r'createTime': PropertySchema(
      id: 3,
      name: r'createTime',
      type: IsarType.long,
    ),
    r'deleted': PropertySchema(
      id: 4,
      name: r'deleted',
      type: IsarType.bool,
    ),
    r'ext': PropertySchema(
      id: 5,
      name: r'ext',
      type: IsarType.string,
    ),
    r'noticeId': PropertySchema(
      id: 6,
      name: r'noticeId',
      type: IsarType.string,
    ),
    r'options': PropertySchema(
      id: 7,
      name: r'options',
      type: IsarType.object,
      target: r'NoticeOptionsModel',
    ),
    r'title': PropertySchema(
      id: 8,
      name: r'title',
      type: IsarType.string,
    )
  },
  estimateSize: _noticeModelEstimateSize,
  serialize: _noticeModelSerialize,
  deserialize: _noticeModelDeserialize,
  deserializeProp: _noticeModelDeserializeProp,
  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'noticeId': IndexSchema(
      id: -4304276775649609611,
      name: r'noticeId',
      unique: false,
      replace: false,
      properties: [
        IndexPropertySchema(
          name: r'noticeId',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    )
  },
  links: {},
  embeddedSchemas: {r'NoticeOptionsModel': NoticeOptionsModelSchema},
  getId: _noticeModelGetId,
  getLinks: _noticeModelGetLinks,
  attach: _noticeModelAttach,
  version: '3.1.0+1',
);