|
@ -5,6 +5,7 @@ import com.yihu.wlyy.entity.IdEntity;
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Table;
|
|
|
import javax.persistence.Transient;
|
|
|
import java.sql.Timestamp;
|
|
|
import java.util.Date;
|
|
|
|
|
@ -144,6 +145,16 @@ public class ConcernDO extends IdEntity {
|
|
|
public Integer getConcernSource() {
|
|
|
return this.concernSource;
|
|
|
}
|
|
|
@Transient
|
|
|
public String getConcernSourceName() {
|
|
|
switch (concernSource){
|
|
|
case 1:return "扫描二维码";
|
|
|
case 2:return "页面跳转";
|
|
|
case 3:return "咨询关注";
|
|
|
default: return "扫描二维码";
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
public void setConcernSource(Integer concernSource) {
|
|
|
this.concernSource = concernSource;
|