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

@Entity('rpc_keys')
export class RpcKeyEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: 64 }) name: string;
    @Column({ type: 'varchar', length: 128 }) key: string;
    @Column({ type: 'varchar', length: 16 }) ip: string;
}
