com.quhaodian.data.entity.VersionEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discover-hibernate-common Show documentation
Show all versions of discover-hibernate-common Show documentation
discover-hibernate_common is a lib for hibernate
package com.quhaodian.data.entity;
import javax.persistence.MappedSuperclass;
/**
* 版本同步实体
*
* @author aniaojian
*/
@MappedSuperclass
public class VersionEntity extends AbstractEntity {
/**
* 版本号.
*/
private Long versionNum;
/**
* 状态 1 为增加 2为更新 3为删除.
*/
private Integer state;
public Long getVersionNum() {
return versionNum;
}
public void setVersionNum(Long versionNum) {
this.versionNum = versionNum;
}
public Integer getState() {
return state;
}
public void setState(Integer state) {
this.state = state;
}
}