com.quhaodian.data.entity.BaseStateEntity 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
The newest version!
package com.quhaodian.data.entity;
import com.quhaodian.data.enums.StoreState;
import javax.persistence.MappedSuperclass;
/**
* 带有存储状态的实体.
*
* @author ada
*/
@MappedSuperclass
public class BaseStateEntity extends BaseEntity {
/**
* 数据存储状态.
*/
private StoreState storeState;
public StoreState getStoreState() {
return storeState;
}
public void setStoreState(StoreState storeState) {
this.storeState = storeState;
}
}