import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'; @Entity({ name: 'sso_enterprise' }) export class EnterpriseData { @PrimaryGeneratedColumn({ name: 'id', type: 'bigint' }) id: number; @Column({ name: 'entity_type', type: 'varchar', nullable: true, length: 50 }) entity_type: string; @Column({ name: 'code', type: 'varchar', nullable: true, length: 50 }) code: string; @Column({ name: 'name', type: 'varchar', nullable: true, length: 50 }) name: string; @Column({ name: 'status', type: 'varchar', nullable: true, length: 50 }) status: string; @Column({ name: 'created_by', type: 'int', nullable: true }) created_by: number; @Column({ name: 'modified_by', type: 'int', nullable: true }) modified_by: number; @Column({ name: 'created_date', nullable: true }) created_date: Date; @Column({ name: 'modified_date', nullable: true }) modified_date: Date; @Column({ name: 'appcode', type: 'varchar', nullable: true, length: 50 }) appcode: string; @Column({ name: 'app_url_name', type: 'varchar', nullable: true, length: 50 }) app_url_name: string; }