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