|
|
@ -3,6 +3,7 @@ package cokr.xit.adds.inf.mois.model;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
|
|
|
|
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlCData;
|
|
|
|
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
|
|
|
|
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
|
|
|
|
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
|
|
|
|
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
|
|
|
@ -37,22 +38,27 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class Common {
|
|
|
|
public static class Common {
|
|
|
|
@JacksonXmlProperty(localName = "SENDER")
|
|
|
|
@JacksonXmlProperty(localName = "SENDER")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private Sender sender;
|
|
|
|
private Sender sender;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "RECEIVER")
|
|
|
|
@JacksonXmlProperty(localName = "RECEIVER")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private Receiver receiver;
|
|
|
|
private Receiver receiver;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "TITLE")
|
|
|
|
@JacksonXmlProperty(localName = "TITLE")
|
|
|
|
@JacksonXmlCData
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String title;
|
|
|
|
private String title;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "CREATED_DATE")
|
|
|
|
@JacksonXmlProperty(localName = "CREATED_DATE")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String createdDate;
|
|
|
|
private String createdDate;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "ATTACHNUM")
|
|
|
|
@JacksonXmlProperty(localName = "ATTACHNUM")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private int attachnum;
|
|
|
|
private int attachnum;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "ADMINISTRATIVE_NUM")
|
|
|
|
@JacksonXmlProperty(localName = "ADMINISTRATIVE_NUM")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String administrativeNum;
|
|
|
|
private String administrativeNum;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -62,9 +68,11 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class Sender {
|
|
|
|
public static class Sender {
|
|
|
|
@JacksonXmlProperty(localName = "SERVERID")
|
|
|
|
@JacksonXmlProperty(localName = "SERVERID")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String serverid;
|
|
|
|
private String serverid;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "USERID")
|
|
|
|
@JacksonXmlProperty(localName = "USERID")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String userid;
|
|
|
|
private String userid;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "EMAIL")
|
|
|
|
@JacksonXmlProperty(localName = "EMAIL")
|
|
|
@ -77,28 +85,29 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class Receiver {
|
|
|
|
public static class Receiver {
|
|
|
|
@JacksonXmlProperty(localName = "SERVERID")
|
|
|
|
@JacksonXmlProperty(localName = "SERVERID")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String serverid;
|
|
|
|
private String serverid;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "USERID")
|
|
|
|
@JacksonXmlProperty(localName = "USERID")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String userid;
|
|
|
|
private String userid;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "EMAIL")
|
|
|
|
@JacksonXmlProperty(localName = "EMAIL")
|
|
|
|
private String email;
|
|
|
|
private String email;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
@NoArgsConstructor
|
|
|
|
@NoArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class Docnum {
|
|
|
|
public static class Docnum {
|
|
|
|
@JacksonXmlProperty(localName = "docnumcode", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "docnumcode", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
private String docnumcode;
|
|
|
|
private String docnumcode;
|
|
|
|
|
|
|
|
|
|
|
|
@XmlValue
|
|
|
|
@XmlValue
|
|
|
|
@JacksonXmlText
|
|
|
|
@JacksonXmlText
|
|
|
|
@JacksonXmlCData
|
|
|
|
|
|
|
|
private String value;
|
|
|
|
private String value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -111,9 +120,11 @@ public class ExchangeCommon {
|
|
|
|
* 진행| 완료
|
|
|
|
* 진행| 완료
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@JacksonXmlProperty(localName = "status", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "status", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String status;
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "LINES")
|
|
|
|
@JacksonXmlProperty(localName = "LINES")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private Lines lines;
|
|
|
|
private Lines lines;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -124,6 +135,7 @@ public class ExchangeCommon {
|
|
|
|
public static class Lines {
|
|
|
|
public static class Lines {
|
|
|
|
@JacksonXmlElementWrapper(useWrapping = false)
|
|
|
|
@JacksonXmlElementWrapper(useWrapping = false)
|
|
|
|
@JacksonXmlProperty(localName = "LINE")
|
|
|
|
@JacksonXmlProperty(localName = "LINE")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private List<Line> line;
|
|
|
|
private List<Line> line;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -133,9 +145,11 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class Line {
|
|
|
|
public static class Line {
|
|
|
|
@JacksonXmlProperty(localName = "LEVEL")
|
|
|
|
@JacksonXmlProperty(localName = "LEVEL")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String level;
|
|
|
|
private String level;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "SANCTION")
|
|
|
|
@JacksonXmlProperty(localName = "SANCTION")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private Sanction sanction;
|
|
|
|
private Sanction sanction;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -150,6 +164,7 @@ public class ExchangeCommon {
|
|
|
|
* </pre>
|
|
|
|
* </pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@JacksonXmlProperty(localName = "result", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "result", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String result;
|
|
|
|
private String result;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -158,16 +173,18 @@ public class ExchangeCommon {
|
|
|
|
* </pre>
|
|
|
|
* </pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@JacksonXmlProperty(localName = "type", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "type", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String type;
|
|
|
|
private String type;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "PERSON")
|
|
|
|
@JacksonXmlProperty(localName = "PERSON")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private Person person;
|
|
|
|
private Person person;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "COMMENT")
|
|
|
|
@JacksonXmlProperty(localName = "COMMENT")
|
|
|
|
@JacksonXmlCData
|
|
|
|
|
|
|
|
private String comment;
|
|
|
|
private String comment;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "DATE")
|
|
|
|
@JacksonXmlProperty(localName = "DATE")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String date;
|
|
|
|
private String date;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -177,20 +194,23 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class Person {
|
|
|
|
public static class Person {
|
|
|
|
@JacksonXmlProperty(localName = "USERID")
|
|
|
|
@JacksonXmlProperty(localName = "USERID")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String userid;
|
|
|
|
private String userid;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "NAME")
|
|
|
|
@JacksonXmlProperty(localName = "NAME")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String name;
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "POSITION")
|
|
|
|
@JacksonXmlProperty(localName = "POSITION")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String position;
|
|
|
|
private String position;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "DEPT")
|
|
|
|
@JacksonXmlProperty(localName = "DEPT")
|
|
|
|
@JacksonXmlCData
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String dept;
|
|
|
|
private String dept;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "ORG")
|
|
|
|
@JacksonXmlProperty(localName = "ORG")
|
|
|
|
@JacksonXmlCData
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String org;
|
|
|
|
private String org;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -200,6 +220,7 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class ModificationFlag {
|
|
|
|
public static class ModificationFlag {
|
|
|
|
@JacksonXmlProperty(localName = "MODIFIABLE")
|
|
|
|
@JacksonXmlProperty(localName = "MODIFIABLE")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private Modifiable modifiable;
|
|
|
|
private Modifiable modifiable;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "MODIFIED")
|
|
|
|
@JacksonXmlProperty(localName = "MODIFIED")
|
|
|
@ -215,6 +236,7 @@ public class ExchangeCommon {
|
|
|
|
* yes | no
|
|
|
|
* yes | no
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@JacksonXmlProperty(localName = "modifyflag", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "modifyflag", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
@Builder.Default
|
|
|
|
@Builder.Default
|
|
|
|
private String modifyflag = "no";
|
|
|
|
private String modifyflag = "no";
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -234,14 +256,17 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class Addendum {
|
|
|
|
public static class Addendum {
|
|
|
|
@JacksonXmlProperty(localName = "comment", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "comment", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
private String comment;
|
|
|
|
private String comment;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "name", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "name", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
private String name;
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
|
|
|
|
@XmlValue
|
|
|
|
@XmlValue
|
|
|
|
@JacksonXmlText
|
|
|
|
@JacksonXmlText
|
|
|
|
@JacksonXmlCData
|
|
|
|
|
|
|
|
private String value;
|
|
|
|
private String value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -255,6 +280,7 @@ public class ExchangeCommon {
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlElementWrapper(useWrapping = false)
|
|
|
|
@JacksonXmlElementWrapper(useWrapping = false)
|
|
|
|
@JacksonXmlProperty(localName = "ATTACHMENT")
|
|
|
|
@JacksonXmlProperty(localName = "ATTACHMENT")
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private List<Attachment> attachment;
|
|
|
|
private List<Attachment> attachment;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -276,10 +302,19 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class XMLFile {
|
|
|
|
public static class XMLFile {
|
|
|
|
@JacksonXmlProperty(localName = "filename", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "filename", isAttribute = true)
|
|
|
|
String filename;
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
|
|
|
|
private String filename;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "desc", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "desc", isAttribute = true)
|
|
|
|
String desc;
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
|
|
|
|
private String desc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@XmlValue
|
|
|
|
|
|
|
|
@JacksonXmlText
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
private String value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
@ -288,10 +323,19 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class XSLFile {
|
|
|
|
public static class XSLFile {
|
|
|
|
@JacksonXmlProperty(localName = "filename", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "filename", isAttribute = true)
|
|
|
|
String filename;
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
|
|
|
|
private String filename;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "desc", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "desc", isAttribute = true)
|
|
|
|
String desc;
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
|
|
|
|
private String desc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@XmlValue
|
|
|
|
|
|
|
|
@JacksonXmlText
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
private String value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
@ -300,14 +344,18 @@ public class ExchangeCommon {
|
|
|
|
@Builder
|
|
|
|
@Builder
|
|
|
|
public static class Attachment {
|
|
|
|
public static class Attachment {
|
|
|
|
@JacksonXmlProperty(localName = "filename", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "filename", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
private String filename;
|
|
|
|
private String filename;
|
|
|
|
|
|
|
|
|
|
|
|
@JacksonXmlProperty(localName = "desc", isAttribute = true)
|
|
|
|
@JacksonXmlProperty(localName = "desc", isAttribute = true)
|
|
|
|
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
|
|
|
|
@JacksonXmlCData
|
|
|
|
private String desc;
|
|
|
|
private String desc;
|
|
|
|
|
|
|
|
|
|
|
|
@XmlValue
|
|
|
|
@XmlValue
|
|
|
|
@JacksonXmlText
|
|
|
|
@JacksonXmlText
|
|
|
|
@JacksonXmlCData
|
|
|
|
@JsonProperty(required = true)
|
|
|
|
private String value;
|
|
|
|
private String value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|