返回 AiToEarn
video.ts
1 /*
2 * @Author: nevin
3 * @Date: 2025-01-20 16:24:16
4 * @LastEditTime: 2025-02-12 18:32:28
5 * @LastEditors: nevin
6 * @Description: 视频发布记录
7 */
8 import { Entity, Column } from 'typeorm';
9 import {
10 ILableValue as ILableValueP,
11 WorkData,
12 DiffParmasType as DiffParmasTypeP,
13 } from './workData';
14
15 export type ILableValue = ILableValueP;
16
17 export type DiffParmasType = DiffParmasTypeP;
18
19 @Entity({ name: 'video' })
20 export class VideoModel extends WorkData {
21 // 视频路径
22 @Column({ type: 'varchar', nullable: false, comment: '视频路径' })
23 videoPath!: string;
24 }
25
25 lines TYPESCRIPT