package com.yeshi.buwan.domain;
|
|
import com.google.gson.annotations.Expose;
|
import javax.persistence.Entity;
|
import javax.persistence.ManyToOne;
|
|
/**
|
* 取消广告规则
|
*
|
* @author Administrator
|
*
|
*/
|
@Entity
|
public class AdCancelRule {
|
@Expose
|
private String id;
|
@Expose
|
private AdType adType;
|
private String day;
|
@Expose
|
private String score;
|
private String createtime;
|
private String beizhu;
|
private AdminInfo admin;
|
@Expose
|
private String type;// 1-可以使用 2-不能使用
|
|
private String totalScore;
|
|
public String getTotalScore() {
|
return totalScore;
|
}
|
|
public void setTotalScore(String totalScore) {
|
this.totalScore = totalScore;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
@ManyToOne
|
public AdType getAdType() {
|
return adType;
|
}
|
|
public void setAdType(AdType adType) {
|
this.adType = adType;
|
}
|
|
public String getDay() {
|
return day;
|
}
|
|
public void setDay(String day) {
|
this.day = day;
|
}
|
|
public String getScore() {
|
return score;
|
}
|
|
public void setScore(String score) {
|
this.score = score;
|
}
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
|
public String getBeizhu() {
|
return beizhu;
|
}
|
|
public void setBeizhu(String beizhu) {
|
this.beizhu = beizhu;
|
}
|
|
@ManyToOne
|
public AdminInfo getAdmin() {
|
return admin;
|
}
|
|
public void setAdmin(AdminInfo admin) {
|
this.admin = admin;
|
}
|
|
}
|