81 lines
1.4 KiB
Java
81 lines
1.4 KiB
Java
package hycom.model;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.ser.std.DateSerializer;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* Form model
|
|
*/
|
|
public class Form implements Serializable{
|
|
|
|
private static final long serialVersionUID = -7788619177798333712L;
|
|
|
|
private String formName;
|
|
private String link;
|
|
private Date sendDate;
|
|
private boolean attachment;
|
|
private String category;
|
|
private String name;
|
|
private String pillar;
|
|
|
|
public String getFormName() {
|
|
return formName;
|
|
}
|
|
|
|
public void setFormName(String formName) {
|
|
this.formName = formName;
|
|
}
|
|
|
|
public String getLink() {
|
|
return link;
|
|
}
|
|
|
|
public void setLink(String link) {
|
|
this.link = link;
|
|
}
|
|
|
|
public boolean getAttachment() {
|
|
return attachment;
|
|
}
|
|
|
|
public void setAttachment(boolean attachment) {
|
|
this.attachment = attachment;
|
|
}
|
|
|
|
@JsonSerialize(using=DateSerializer.class)
|
|
public Date getSendDate() {
|
|
return sendDate;
|
|
}
|
|
public void setSendDate(Date sendDate) {
|
|
this.sendDate = sendDate;
|
|
}
|
|
|
|
public String getCategory() {
|
|
return category;
|
|
}
|
|
|
|
public void setCategory(String category) {
|
|
this.category = category;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getPillar() {
|
|
return pillar;
|
|
}
|
|
|
|
public void setPillar(String pillar) {
|
|
this.pillar = pillar;
|
|
}
|
|
|
|
|
|
}
|