mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
changed all models to typescript
This commit is contained in:
@@ -4,17 +4,16 @@ import {
|
||||
CreatedAt,
|
||||
UpdatedAt,
|
||||
Model,
|
||||
DataType,
|
||||
PrimaryKey
|
||||
} from "sequelize-typescript";
|
||||
|
||||
@Table
|
||||
class Setting extends Model<Setting> {
|
||||
@PrimaryKey
|
||||
@Column(DataType.STRING)
|
||||
@Column
|
||||
key: string;
|
||||
|
||||
@Column(DataType.STRING)
|
||||
@Column
|
||||
value: string;
|
||||
|
||||
@CreatedAt
|
||||
|
||||
Reference in New Issue
Block a user