import { Column, CreatedAt, Model, UpdatedAt } from "sequelize-typescript";

export class TimestampModel extends Model {
  @CreatedAt
  @Column({ field: "created_at" })
  createdAt: Date;

  @UpdatedAt
  @Column({ field: "updated_at" })
  updatedAt: Date;
}
