Explorar el Código

增加应用描述字段

o2sword hace 5 años
padre
commit
fbe5652050

+ 16 - 0
o2server/x_program_center_core_entity/src/main/java/com/x/program/center/core/entity/Application.java

@@ -74,6 +74,14 @@ public class Application extends SliceJpaObject {
 	@CheckPersist(allowEmpty = true)
 	private Double price;
 
+	public static final String describe_FIELDNAME = "describe";
+	@FieldDescribe("描述.必填")
+	@Lob
+	@Basic(fetch = FetchType.EAGER)
+	@Column(length = JpaObject.length_1K, name = ColumnNamePrefix + describe_FIELDNAME)
+	@CheckPersist(allowEmpty = true)
+	private String describe;
+
 	public static final String abort_FIELDNAME = "abort";
 	@FieldDescribe("应用简介")
 	@Lob
@@ -274,4 +282,12 @@ public class Application extends SliceJpaObject {
 	public void setCommentCount(Integer commentCount) {
 		this.commentCount = commentCount;
 	}
+
+	public String getDescribe() {
+		return describe;
+	}
+
+	public void setDescribe(String describe) {
+		this.describe = describe;
+	}
 }