mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
17 lines
329 B
TypeScript
17 lines
329 B
TypeScript
import { Column, Entity } from 'typeorm';
|
|
|
|
import { PrimaryGeneratedBigIntColumn } from '../utils/PrimaryGeneratedBigIntColumn';
|
|
|
|
@Entity()
|
|
export class HomeGraphEntity {
|
|
|
|
@PrimaryGeneratedBigIntColumn()
|
|
id: number;
|
|
|
|
@Column({ type: 'bigint' })
|
|
label: number;
|
|
|
|
@Column({ type: 'bigint' })
|
|
data: number;
|
|
}
|