소스 검색

增加应用描述字段

o2sword 5 년 전
부모
커밋
fbe5652050
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      o2server/x_program_center_core_entity/src/main/java/com/x/program/center/core/entity/Application.java

+ 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;
+	}
 }