snowballtools-base/packages/backend/src/entity/Deployer.ts

21 lines
430 B
TypeScript
Raw Normal View History

import { Entity, PrimaryColumn, Column, ManyToMany } from 'typeorm';
import { Project } from './Project';
@Entity()
export class Deployer {
@PrimaryColumn('varchar')
deployerLrn!: string;
@Column('varchar')
deployerId!: string;
@Column('varchar')
deployerApiUrl!: string;
@Column('varchar')
baseDomain!: string;
@ManyToMany(() => Project, (project) => project.deployers)
projects!: Project[];
}