// Copyright Abridged, Inc. 2021,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; /** * The model class is generated from OpenAPI schema - AssetOwnership * AssetOwnership */ @model({name: 'AssetOwnership'}) export class AssetOwnership { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) id?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) createdTime?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) pk?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) sk?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) classifier?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) classifierGroup?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) userId?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) socialId?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) openseaUrl?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) mediaUrl?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) account?: string; /** * */ @property.array(String, { jsonSchema: { type: 'array', items: { type: 'string', }, }, }) assets?: string[]; } export interface AssetOwnershipRelations { // describe navigational properties here } export type AssetOwnershipWithRelations = AssetOwnership & AssetOwnershipRelations;