ff-admin-server/src/entity/configuration/query.ts

17 lines
357 B
TypeScript
Raw Normal View History

2025-04-16 11:33:11 +02:00
import { Column, Entity, PrimaryColumn, UpdateDateColumn } from "typeorm";
2024-12-14 16:11:53 +01:00
@Entity()
export class query {
2025-03-26 09:10:08 +01:00
@PrimaryColumn({ generated: "uuid", type: "varchar" })
id: string;
2024-12-14 16:11:53 +01:00
2024-12-18 22:27:33 +01:00
@Column({ type: "varchar", length: 255, unique: true })
title: string;
2024-12-14 16:11:53 +01:00
@Column({ type: "text", default: "" })
query: string;
2025-04-16 11:33:11 +02:00
@UpdateDateColumn()
updatedAt: Date;
2024-12-14 16:11:53 +01:00
}