We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://api.github.com/vorant94/sofash/blob/fcb3ff714b19baf963f745027eebdd11e63af32c/libs/db/src/event/event.entity.ts#L23
import { Column, Entity, ManyToOne } from 'typeorm'; import { BaseEntity } from '../shared/base.entity.js'; import { EventSourceEntity } from '../event-source/event-source.entity.js'; import { EVENT_LANGUAGES, EventLanguage } from '../shared/event-language.js'; @Entity({ name: 'event' }) export class EventEntity extends BaseEntity { @Column() title!: string; @Column() description!: string; @Column() startingAt!: Date; @Column() endingAt!: Date; @Column({ nullable: true }) price?: number; // TODO add a custom transformer URL <=> string @Column() detailsUrl!: string; @Column() city!: string; @Column({ type: 'enum', enum: EVENT_LANGUAGES }) language!: EventLanguage; @Column() sourceMessageId!: string; @Column() sourceId!: string; @ManyToOne(() => EventSourceEntity) source!: EventSourceEntity; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://api.github.com/vorant94/sofash/blob/fcb3ff714b19baf963f745027eebdd11e63af32c/libs/db/src/event/event.entity.ts#L23
The text was updated successfully, but these errors were encountered: