cr-database/mongodb/Redirect.ts

13 lines
240 B
TypeScript
Raw 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;
@prop({ required: true })
public visitedCount: number;
}