Rewriting database and API to transform to a ticket shop
This commit is contained in:
13
software/backend/models/location.model.ts
Normal file
13
software/backend/models/location.model.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Column, Model, Table } from "sequelize-typescript";
|
||||
|
||||
@Table({ timestamps: false })
|
||||
export class Location extends Model {
|
||||
@Column
|
||||
name: String
|
||||
|
||||
@Column
|
||||
address: String
|
||||
|
||||
@Column
|
||||
image: String
|
||||
}
|
||||
Reference in New Issue
Block a user