forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Prop, Schema, SchemaFactory } from "@nestjs/mongoose";
|
||||
import mongoose, { Types } from "mongoose";
|
||||
|
||||
@Schema({ versionKey: false, collection: "claim-video-capture" })
|
||||
export class VideoCaptureModel extends mongoose.Document {
|
||||
@Prop({ required: false, type: String })
|
||||
path?: string;
|
||||
|
||||
@Prop({ required: false, type: String })
|
||||
fileName?: string;
|
||||
|
||||
@Prop({ required: false, type: Types.ObjectId })
|
||||
claimId?: Types.ObjectId;
|
||||
}
|
||||
|
||||
export const VideoCaptureSchema =
|
||||
SchemaFactory.createForClass(VideoCaptureModel);
|
||||
Reference in New Issue
Block a user