Initial commit — Southwest Roleplay FiveM

This commit is contained in:
jack
2026-06-20 13:05:34 +00:00
commit 3857de3d85
397 changed files with 30322 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { Column, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from 'typeorm';
import { CompanyEntity } from './company.entity';
@Entity('company_uniforms')
export class CompanyUniformEntity {
@PrimaryGeneratedColumn() id: number;
@Column() company_id: number;
@Column({ type: 'int', nullable: true }) position_id: number | null;
@Column({ type: 'varchar', length: 32 }) name: string;
@Column({ type: 'json' }) clothing_items: number[];
@ManyToOne(() => CompanyEntity, (company) => company.uniforms)
@JoinColumn({ name: 'company_id' })
company: CompanyEntity;
}