import { EntitySchemaColumnOptions } from 'typeorm' ; export const BaseEntity = { id : { type : Number , primary : true , generated : true , } as EntitySchemaColumnOptions , createdAt : { name : 'created_at' , type : 'timestamp with time zone' , createDate : true , } as EntitySchemaColumnOptions , updatedAt : { name : 'updated_at' , type : 'timestamp with time zone' , updateDate : true , } as EntitySchemaColumnOptions , } ;