import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, } from 'typeorm'; @Entity('lc_activation_log') export class LcActivationLog { @PrimaryGeneratedColumn({ type: 'bigint', unsigned: true }) id!: number; @Column({ name: 'license_id', type: 'bigint', unsigned: true }) licenseId!: number; @Column({ name: 'machine_fingerprint', length: 100 }) machineFingerprint!: string; @Column({ name: 'installation_id', type: 'varchar', length: 64, nullable: true }) installationId!: string | null; @Column({ type: 'varchar', length: 200, nullable: true }) hostname!: string | null; @Column({ type: 'varchar', length: 50, nullable: true }) ip!: string | null; @Column({ length: 20 }) action!: string; @CreateDateColumn({ name: 'created_at' }) createdAt!: Date; }