import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('phone_number_changes')
export class PhoneNumberChangesEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'int' }) account_id: number;
    @Column({ type: 'int' }) character_id: number;
    @Column({ type: 'int' }) phone_id: number;
    @Column({ type: 'varchar', length: 64 }) from: string;
    @Column({ type: 'varchar', length: 64 }) to: string;
    @Column({ type: 'datetime' }) date: Date;
    @Column({ type: 'int' }) changed_by_account_id: number;
}
