chore: import DH V2 D5.6.4 production baseline

This commit is contained in:
DH V2
2026-09-05 10:12:35 -03:00
commit 82213e72f5
757 changed files with 84218 additions and 0 deletions
@@ -0,0 +1,21 @@
import { Column, Entity, PrimaryColumn, UpdateDateColumn } from 'typeorm';
export enum DocumentSequenceType {
ACT = 'ACT',
REPORT = 'REPORT',
}
@Entity({ name: 'document_annual_sequences' })
export class DocumentAnnualSequence {
@PrimaryColumn({ name: 'document_type', type: 'varchar', length: 20 })
documentType!: DocumentSequenceType;
@PrimaryColumn({ type: 'integer' })
year!: number;
@Column({ name: 'last_number', type: 'integer', default: 0 })
lastNumber!: number;
@UpdateDateColumn({ name: 'updated_at', type: 'timestamptz' })
updatedAt!: Date;
}