Properties of the row in the database see ColumnOptions,
options.tsType or options.type must be set
Returns (target:any,propertyKey:string)=>void
Returns a decorator function that will be applied to an attribute.
Precondition
This decorator must be used on a class that extends BaseEntity.
The class must have a Entity on it and exactly one of the attributes must be set
as a primary column.
Decorator for creating a column in the database.