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

@Entity()
export class OrgUser {
    @PrimaryGeneratedColumn()
    id: number

    @CreateDateColumn()
    createdAt: Date

    @Column()
    orgId: number

    @Column()
    userId: number

    @Column()
    phone: string

    @Column()
    name: string
}
