first commit

This commit is contained in:
Bastian Wagner
2026-07-31 21:02:47 +02:00
commit 6bea4f766a
512 changed files with 64459 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { Column, Entity, PrimaryColumn } from 'typeorm';
import { ApiProperty } from '@nestjs/swagger';
import { Allow } from 'class-validator';
import { EntityHelper } from 'src/utils/entity-helper';
@Entity()
export class Status extends EntityHelper {
@ApiProperty({ example: 1 })
@PrimaryColumn()
id: number;
@Allow()
@ApiProperty({ example: 'Active' })
@Column()
name?: string;
}

View File

@@ -0,0 +1,4 @@
export enum StatusEnum {
'active' = 1,
'inactive' = 2,
}