瀏覽代碼

Merge remote-tracking branch 'origin/dev-mysql' into dev-mysql

wangdy 8 年之前
父節點
當前提交
519130c931
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      src/main/java/com/uas/platform/b2c/prod/product/component/modal/ComponentCrawl.java

+ 18 - 0
src/main/java/com/uas/platform/b2c/prod/product/component/modal/ComponentCrawl.java

@@ -125,6 +125,16 @@ public class ComponentCrawl implements Serializable {
 	@Column(name = "cc_task")
 	@Column(name = "cc_task")
 	private Long task;
 	private Long task;
 
 
+	/**
+	 * 器件所处生命周期
+	 * ACTIVE 815 正常
+	 * DISCONTINUED 816 即将停产
+	 * OBSOLETE 817 停产
+	 * PRELIMINARY 818 新品
+	 */
+	@Column(name = "cc_lifecycle")
+	private Integer lifecycle;
+
 	/**
 	/**
 	 * 属性
 	 * 属性
 	 */
 	 */
@@ -276,6 +286,14 @@ public class ComponentCrawl implements Serializable {
 		this.task = task;
 		this.task = task;
 	}
 	}
 
 
+	public Integer getLifecycle() {
+		return lifecycle;
+	}
+
+	public void setLifecycle(Integer lifecycle) {
+		this.lifecycle = lifecycle;
+	}
+
 	public Set<PropertyValueCrawl> getProperties() {
 	public Set<PropertyValueCrawl> getProperties() {
 		return properties;
 		return properties;
 	}
 	}