90 lines
2.9 KiB
TypeScript
90 lines
2.9 KiB
TypeScript
export type InquiryListRequest = {
|
|
compCd: string //company code
|
|
langCd: string //language code
|
|
storeId: string //store id
|
|
siteTpCd: string //site type code (QC: QCast, QR: QRead)
|
|
schTitle: string | null //search title
|
|
schRegId: string | null //search regId
|
|
schFromDt: string | null //search start date
|
|
schToDt: string | null //search end date
|
|
startRow: number //start row
|
|
endRow: number //end row
|
|
loginId: string //login id
|
|
}
|
|
|
|
export type InquiryList = {
|
|
totCnt: number //total count
|
|
rowNumber: number //row number
|
|
compCd: string //company code
|
|
qnaNo: number //qna number
|
|
qstTitle: string //title
|
|
regDt: string //registration date
|
|
regId: string //registration Userid
|
|
regNm: string //registration User name
|
|
answerYn: string //answer yn - Y / N
|
|
attachYn: string | null //attach yn - Y / N
|
|
qnaClsLrgCd: string //qna CLS large Code
|
|
qnaClsMidCd: string //qna CLS Mid Code
|
|
qnaClsSmlCd: string | null //qna CLS Small Code
|
|
}
|
|
|
|
export type InquiryDetailRequest = {
|
|
compCd: string //company code
|
|
langCd: string //language code
|
|
qnaNo: number //qna number
|
|
loginId: string //login id
|
|
}
|
|
|
|
export type Inquiry = {
|
|
compCd: string //company code
|
|
qnaNo: number //qna number
|
|
qstTitle: string //title
|
|
qstContents: string //content
|
|
regDt: string //registration date
|
|
regId: string //registration Userid
|
|
regNm: string //registration User name
|
|
regEmail: string //registration User email
|
|
answerYn: string //answer yn - Y / N
|
|
ansContents: string | null //answer content
|
|
ansRegDt: string | null //answer registration date
|
|
ansRegNm: string | null //answer registration User name
|
|
storeId: string | null //store id
|
|
storeNm: string | null //store name
|
|
regUserNm: string //registration User name
|
|
regUserTelNo: string | null //registration User tel number
|
|
qnaClsLrgCd: string //qna CLS large Code
|
|
qnaClsMidCd: string //qna CLS Mid Code
|
|
qnaClsSmlCd: string | null //qna CLS Small Code
|
|
listFile: listFile[] | null //Question list file
|
|
ansListFile: listFile[] | null //Answer list file
|
|
}
|
|
|
|
export type listFile = {
|
|
fileNo: number //file number
|
|
encodeFileNo: string //encode file number
|
|
srcFileNm: string //source file name
|
|
fileCours: string //file course
|
|
fileSize: number //file size(Byte)
|
|
regDt: string //registration date
|
|
}
|
|
|
|
export type InquiryRequest = {
|
|
compCd: string //company code
|
|
siteTpCd: string //site type code(QC: QCast, QR: QRead)
|
|
qnaClsLrgCd: string //qna CLS large Code
|
|
qnaClsMidCd: string //qna CLS Mid Code
|
|
qnaClsSmlCd: string | null //qna CLS Small Code
|
|
title: string //title
|
|
contents: string | null //contents
|
|
regId: string //registration Userid
|
|
storeId: string | null //store id
|
|
regUserNm: string //registration User name
|
|
regUserTelNo: string | null //registration User tel number
|
|
}
|
|
|
|
export type InquirySaveResponse = {
|
|
cnt: number | null //count
|
|
qnaNo: number //qna number
|
|
mailYn: string //mail yn - Y / N
|
|
}
|