gradido/backend/src/graphql/models/Transaction.ts

11 lines
241 B
TypeScript

import { Entity, BaseEntity, Column } from 'typeorm'
import { ObjectType, Field } from 'type-graphql'
@Entity()
@ObjectType()
export class Transaction extends BaseEntity {
@Field(() => String)
@Column({ length: 191 })
email: string
}