251215:1719 Docunment Number Rule not correct
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled

This commit is contained in:
admin
2025-12-15 17:19:40 +07:00
parent ec35521258
commit 78370fb590
23 changed files with 1461 additions and 1609 deletions
@@ -25,6 +25,17 @@ export class DocumentNumberAudit {
@Column({ name: 'template_used', length: 200 })
templateUsed!: string;
@Column({
name: 'operation',
type: 'enum',
enum: ['RESERVE', 'CONFIRM', 'MANUAL_OVERRIDE', 'VOID_REPLACE', 'CANCEL'],
default: 'CONFIRM',
})
operation!: string;
@Column({ name: 'metadata', type: 'json', nullable: true })
metadata?: any;
@Column({ name: 'user_id' })
userId!: number;