package com.qxueyou.scc.school.model; import java.io.Serializable; import javax.persistence.*; import org.hibernate.annotations.GenericGenerator; import com.qxueyou.scc.base.model.ITrace; import java.util.Date; /** * The persistent class for the sch_class_circle database table. * */ @Entity @Table(name="sch_class_circle") @NamedQuery(name="SchClassCircle.findAll", query="SELECT s FROM SchClassCircle s") public class SchClassCircle implements Serializable,ITrace { private static final long serialVersionUID = 1L; private int authorize; @Column(name="authorize_to_other") private int authorizeToOther; @Column(name="background_url") private String backgroundUrl; @Id @GeneratedValue(generator = "hibernate-uuid") @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") @Column(name="class_circle_id") private String classCircleId; @Column(name="CREATE_ID") private String createId; @Temporal(TemporalType.DATE) @Column(name="CREATE_TIME") private Date createTime; private String creator; @Column(name="DELETE_FLAG") private boolean deleteFlag; private boolean enable; @Column(name="UPDATE_ID") private String updateId; @Temporal(TemporalType.DATE) @Column(name="UPDATE_TIME") private Date updateTime; private String updator; @Column(name="user_id") private String userId; @Column(name="user_name") private String userName; public SchClassCircle() { } public int getAuthorize() { return this.authorize; } public void setAuthorize(int authorize) { this.authorize = authorize; } public int getAuthorizeToOther() { return this.authorizeToOther; } public void setAuthorizeToOther(int authorizeToOther) { this.authorizeToOther = authorizeToOther; } public String getBackgroundUrl() { return this.backgroundUrl; } public void setBackgroundUrl(String backgroundUrl) { this.backgroundUrl = backgroundUrl; } public String getClassCircleId() { return this.classCircleId; } public void setClassCircleId(String classCircleId) { this.classCircleId = classCircleId; } public String getCreateId() { return this.createId; } public void setCreateId(String createId) { this.createId = createId; } public Date getCreateTime() { return this.createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getCreator() { return this.creator; } public void setCreator(String creator) { this.creator = creator; } public boolean getDeleteFlag() { return this.deleteFlag; } public void setDeleteFlag(boolean deleteFlag) { this.deleteFlag = deleteFlag; } public boolean getEnable() { return this.enable; } public void setEnable(boolean enable) { this.enable = enable; } public String getUpdateId() { return this.updateId; } public void setUpdateId(String updateId) { this.updateId = updateId; } public Date getUpdateTime() { return this.updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getUpdator() { return this.updator; } public void setUpdator(String updator) { this.updator = updator; } public String getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; } public String getUserName() { return this.userName; } public void setUserName(String userName) { this.userName = userName; } }