返回 AiToEarn
imgText.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 { Column, Entity } from 'typeorm';
9 import { WorkData } from './workData';
10
11 @Entity({ name: 'imgText' })
12 export class ImgTextModel extends WorkData {
13 @Column({ type: 'json', nullable: false, comment: '多个图片的路径' })
14 imagesPath!: string[];
15 }
16
16 lines TYPESCRIPT