import { makePropDecorator } from '@ditsmod/core';
function transformPropertyMeta(schema, customType) {
    return { schema, customType };
}
/**
 * Decorator for model properties.
 *
 * Usage:
 *
 * ```ts
class Post {
  @Property({ type: 'number', minimum: 0, maximum: 100000 })
  postId: number;
}
 * ```
 */
export const property = makePropDecorator(transformPropertyMeta);
//# sourceMappingURL=property.js.map