summaryrefslogtreecommitdiff
path: root/lib/docu-list-rule/types.ts
blob: 2baa72a51de73b27b75c87980459884f9f2bad34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// docu-list-rule 모듈 공통 타입 정의

export interface NumberTypeConfig {
  id: number
  documentNumberTypeId: number
  codeGroupId: number | null
  sdq: number
  description: string | null
  delimiter:string | null
  remark: string | null
  isActive: boolean | null
  createdAt: Date
  updatedAt: Date
  codeGroupName: string | null
  codeGroupControlType: string | null
}

export interface CodeGroup {
  id: number
  groupId: string
  description: string
  codeFormat: string | null
  expressions: string | null
  controlType: string
  isActive: boolean
  createdAt: Date
  updatedAt: Date
  projectId: number
  projectCode: string | null
  projectName: string | null
}

export interface DocumentClass {
  id: number
  code: string
  value: string
  description: string | null
  codeGroupId: number | null
  isActive: boolean
  createdAt: Date
  updatedAt: Date
  projectId: number
  projectCode: string | null
  projectName: string | null
}

export interface NumberType {
  id: number
  name: string
  description: string | null
  isActive: boolean
  createdAt: Date
  updatedAt: Date
  projectId: number
  projectCode: string | null
  projectName: string | null
}