cr-database/mongodb/Redirect.ts

13 lines
222 B
TypeScript
Raw Permalink Normal View History

2022-02-28 11:51:44 -05:00
import { prop } from '@typegoose/typegoose';
export default class Redirect {
@prop({ required: true })
public key: string;
@prop({ required: true })
public to: string;
2022-03-01 13:34:28 -05:00
@prop()
2022-02-28 11:51:44 -05:00
public visitedCount: number;
}