mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 09:49:19 +08:00
34 lines
811 B
TypeScript
34 lines
811 B
TypeScript
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;
|
|
}
|