mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
11 lines
241 B
TypeScript
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
|
|
}
|