|
|
@@ -13,6 +13,8 @@ import javax.persistence.Transient;
|
|
|
|
|
|
import org.codehaus.jackson.annotate.JsonIgnore;
|
|
|
|
|
|
+import com.alibaba.fastjson.annotation.JSONField;
|
|
|
+
|
|
|
@Entity
|
|
|
@Table(name = "attachs")
|
|
|
public class Attach {
|
|
|
@@ -74,6 +76,7 @@ public class Attach {
|
|
|
}
|
|
|
|
|
|
@JsonIgnore
|
|
|
+ @JSONField(serialize = false)
|
|
|
public Date getDate() {
|
|
|
return date;
|
|
|
}
|
|
|
@@ -83,6 +86,7 @@ public class Attach {
|
|
|
}
|
|
|
|
|
|
@JsonIgnore
|
|
|
+ @JSONField(serialize = false)
|
|
|
public String getPath() {
|
|
|
return path;
|
|
|
}
|
|
|
@@ -92,6 +96,7 @@ public class Attach {
|
|
|
}
|
|
|
|
|
|
@JsonIgnore
|
|
|
+ @JSONField(serialize = false)
|
|
|
public String getDescription() {
|
|
|
return description;
|
|
|
}
|
|
|
@@ -117,6 +122,7 @@ public class Attach {
|
|
|
}
|
|
|
|
|
|
@JsonIgnore
|
|
|
+ @JSONField(serialize = false)
|
|
|
public String getSourceId() {
|
|
|
return sourceId;
|
|
|
}
|
|
|
@@ -126,6 +132,7 @@ public class Attach {
|
|
|
}
|
|
|
|
|
|
@JsonIgnore
|
|
|
+ @JSONField(serialize = false)
|
|
|
public String getRelativeTable() {
|
|
|
return relativeTable;
|
|
|
}
|
|
|
@@ -135,6 +142,7 @@ public class Attach {
|
|
|
}
|
|
|
|
|
|
@JsonIgnore
|
|
|
+ @JSONField(serialize = false)
|
|
|
public Long getRelativeKey() {
|
|
|
return relativeKey;
|
|
|
}
|