Spaces:
Runtime error
Runtime error
| import { | |
| Entity, | |
| PrimaryColumn, | |
| Column, | |
| CreateDateColumn, | |
| UpdateDateColumn, | |
| } from 'typeorm'; | |
| ('Customers') | |
| export class Customer { | |
| ({ type: 'char', length: 5 }) | |
| CustomerID: string; | |
| ({ length: 40 }) | |
| CompanyName: string; | |
| ({ length: 30, nullable: true }) | |
| ContactName: string; | |
| ({ length: 30, nullable: true }) | |
| ContactTitle: string; | |
| ({ length: 60, nullable: true }) | |
| Address: string; | |
| ({ length: 15, nullable: true }) | |
| City: string; | |
| ({ length: 15, nullable: true }) | |
| Region: string; | |
| ({ length: 10, nullable: true }) | |
| PostalCode: string; | |
| ({ length: 15, nullable: true }) | |
| Country: string; | |
| ({ length: 24, nullable: true }) | |
| Phone: string; | |
| ({ length: 24, nullable: true }) | |
| Fax: string; | |
| ({ length: 60, nullable: true }) | |
| PhotoURL: string; | |
| ({ type: 'timestamp' }) | |
| createdAt: Date; | |
| ({ type: 'timestamp' }) | |
| updatedAt: Date; | |
| } | |