export interface DeptSn {
  appCode: string
  deptId: string
  deptPath: string
  snTitle: string
}

export interface FormType {
  appCode: string
  typeCode: string
  typeName: string
  typeCategory: string
  typeSn: string
  urlTemplate: string
  enabled: boolean
  typeDescription: string
}

export interface WorkflowRelation {
  appCode: string
  formCode: string
  deptId: string
  deptPath: string
  processRange: number
  processCode: string
  processName: string
}

export const initDeptSn: DeptSn = {
  appCode: '',
  deptId: '',
  deptPath: '',
  snTitle: ''
}
export const initFormType: FormType = {
  appCode: '',
  typeCode: '',
  typeName: '',
  typeCategory: '',
  typeSn: '',
  urlTemplate: '',
  enabled: true,
  typeDescription: ''
}
export const initWorkflowRelation: WorkflowRelation = {
  appCode: '',
  formCode: '',
  deptId: '',
  deptPath: '',
  processRange: 0,
  processCode: '',
  processName: ''
}
