mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 01:09:19 +08:00
feat: 新增license
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user