All files / src/models PatronCollection.ts

0% Statements 0/15
0% Branches 0/22
0% Functions 0/1
0% Lines 0/11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15                             
import {Collection, collection, index} from 'mongot';
import {PatronDocument} from './documents/PatronDocument';

/**
 * Patron Collection
 */
@index('id', {unique: true})
@index('deleted')
@index('discord_id')
@index('pledge.id')
@collection('patrons', PatronDocument)
export class PatronCollection extends Collection<PatronDocument> {
 
}