UNPKG

@themost/jspa

Version:
16 lines (15 loc) 557 B
import { ColumnAnnotation } from './Column'; declare enum GenerationType { Auto = "AUTO", Identity = "IDENTITY", Sequence = "SEQUENCE", Table = "TABLE" } declare interface GeneratedValueAnnotation { strategy?: string; } declare interface GeneratedValueColumnAnnotation extends ColumnAnnotation { generatedValue?: GeneratedValueAnnotation; } declare function GeneratedValue(annotation?: GeneratedValueAnnotation): PropertyDecorator; export { GenerationType, GeneratedValueAnnotation, GeneratedValueColumnAnnotation, GeneratedValue };