You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
2.6 KiB
Java
103 lines
2.6 KiB
Java
package com.worker.dto;
|
|
|
|
import com.worker.domain.entity.CpAnswer;
|
|
import com.worker.domain.entity.CpBdong;
|
|
import com.worker.domain.entity.CpMain;
|
|
import com.worker.domain.entity.CpSetinfo;
|
|
import jakarta.persistence.Lob;
|
|
import lombok.*;
|
|
|
|
import java.util.List;
|
|
|
|
public class SinmungoDto {
|
|
|
|
@Data
|
|
@Builder
|
|
public static class ParseResult {
|
|
private CpMain cpMain;
|
|
private List<ImgParser> imgParsers;
|
|
}
|
|
|
|
@Getter
|
|
@Builder
|
|
public static class SetInfo {
|
|
private CpSetinfo cpSetinfo;
|
|
private CpSetinfo epSetinfo;
|
|
private List<CpBdong> cpBdongList;
|
|
private List<CpBdong> epBdongList;
|
|
}
|
|
|
|
|
|
@Data
|
|
@Builder
|
|
public static class SinmungoXml {
|
|
private String fileName;
|
|
private String interface_seq_n;
|
|
private String sys_gubun_c;
|
|
private String anc_code_v;
|
|
private String peti_gubun_c;
|
|
private String peti_anc_code_v;
|
|
private String peti_no_c;
|
|
private String civil_no_c;
|
|
private String peter_name_v;
|
|
private String zip_code_c;
|
|
private String address_v;
|
|
private String email_v;
|
|
private String cel_no_v;
|
|
private String tel_no_v;
|
|
private String peti_title_v;
|
|
private String peti_reason_l;
|
|
private String open_yn_c;
|
|
private String peti_reg_d;
|
|
private String peti_reason_attach_yn_c;
|
|
private String peti_file_size_n;
|
|
private String peti_file_path1_v;
|
|
private String peti_file_path2_v;
|
|
private String peti_file_path3_v;
|
|
private String peti_file_path4_v;
|
|
private String peti_file_path5_v;
|
|
private String peti_file_path6_v;
|
|
private String pcd_anc_code_v;
|
|
private String peti_proc_dur_n;
|
|
private String peti_end_d;
|
|
private String anc_reg_d;
|
|
private String reg_d;
|
|
private String send_yn_c;
|
|
private String send_d;
|
|
private String apply_d;
|
|
private String apply_gubun_c;
|
|
private String pcd_dept_v;
|
|
private String pcd_dept_nm_v;
|
|
private String duty_id_v;
|
|
private String pcd_email_v;
|
|
private String pcd_tel_v;
|
|
private String peti_path_gubun_c;
|
|
private String apndfilcount;
|
|
private List<ImgParser> imgParsers;
|
|
|
|
}
|
|
|
|
|
|
@Data
|
|
@Builder
|
|
@NoArgsConstructor
|
|
@AllArgsConstructor
|
|
public static class ImgParser {
|
|
private String fileName;
|
|
@Lob
|
|
private byte[] imageBytes;
|
|
|
|
}
|
|
|
|
@Data
|
|
@Builder
|
|
public static class Answer{
|
|
private CpAnswer cpAnswer;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|