import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('contract_templates')
export class ContractTemplateEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: 64 }) key: string;
    @Column({ type: 'varchar', length: 128 }) name: string;
    @Column({ type: 'longtext' }) markdown: string;
}
