Skip to content

Commit

Permalink
fix(core.gbapp): Update of properties modifier with declare.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Nov 22, 2022
1 parent 663c85e commit 21df92e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/admin.gbapp/models/AdminModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ import { Column, CreatedAt, DataType, Model, Table, UpdatedAt } from 'sequelize-
@Table
export class GuaribasAdmin extends Model<GuaribasAdmin> {
@Column(DataType.INTEGER)
instanceId: number;
declare instanceId: number;

@Column(DataType.STRING(255))
key: string;
declare key: string;

@Column(DataType.STRING(4000))
value: string;
declare value: string;

@Column(DataType.DATE)
@CreatedAt
createdAt: Date;
declare createdAt: Date;

@Column(DataType.DATE)
@UpdatedAt
updatedAt: Date;
declare updatedAt: Date;
}

0 comments on commit 21df92e

Please sign in to comment.