export interface iBiz {
  bizNo: string
  pwd: string
  compNm: string
  repNm: string
  email: string
}

export interface iPageable {
  content: object
  pagealbe: object
  totalElements: number
  totlaPages: number
}

export interface iPrcsPageable {
  content: iPrcs[]
  pagealbe: object
  totalElements: number
  totlaPages: number
}

export interface iEstimatePageable {
  content: iEstimate[]
  pagealbe: object
  totalElements: number
  totlaPages: number
}

export interface iRePassword {
  bizNo: string
  oldPwd: string
  pwd: string
  rePwd: string
}

export interface iPrcs {
  aiYn: boolean
  apprMst: any
  cateCd: string
  cateNm: string
  content: string
  dtlSpecs: any
  prcsAtts: any
  prcsNo: string
  prvPwd: string
  prvRsn: string
  prvYn: boolean
  regDt: string
  regEdat: string
  regNm: string
  regSabun: string
  regSdat: string
  stCd: string
  stNm: string
  svyDt: string
  svyYn: boolean
  title: string
  amt: number
  unit_prc: number
}

export interface iDtlSpec {
  amt: number
  bizNo: string
  estimate: iEstimate
  dtlSpNo: string
  mng: string
  prcsNo: string
  unitPrc: number
  qty: number
  spec: string
  itemNm: string
  unit: number
}

export interface iEstimateList {
  estimates: iEstimate[]
  pbAtts: iPbAtt[]
}

export interface iPbAtt {
  prcsNo: string
  bizNo: string
  fileOrd: number
  logiFnm: string
  physFnm: string
  size: number
  data: string
  path: string
}

export interface iEstimate {
  estNo: string
  bizNo: string
  cateNm: string
  prcsNo: string
  dtlSpNo: string
  content: string
  regSdat: string
  regEdat: string
  mngNm: string
  unitPrc: number
  amt: number
  qty: number
  estDocs: iEstimateDoc[]
  dtlSpecs: iDtlSpec[]
  prcsAtts: any
  pbAtts: iPbAtt[]
  estDt: string
  estStat: string
  estStatCd: string
  title: string
  totAmt: number
  svyDt: string
}

export interface iEstimateDoc {
  estNo: string
  logiFnm: string
  data: string
  size: number
  fileOrd: number
}

export interface iCode {
  nm: string
  desc: string
  useYn: boolean
  id: number
  cd: string
}

export type UserData = {
  bizNo: string
  pwd: string
  compNm: string
  repNm: string
  email: string
  accessToken: string
}


export type Person = {
  sabun: string
  name: string
  deptCd: string
  ptsnNm: string
  gradeCd: string
  gradeNm: string
  ofcePhn: string
  mblPhn: string
  state: string
  attendCd: string
  attendNm: string
  attendStaYmd: string
  attendEndYmd: string
  gubunCd: string
}