You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
1.9 KiB

package ${basePackage}.frame.base;
6 years ago
import com.fasterxml.jackson.annotation.JsonIgnore;
6 years ago
import java.io.Serializable;
6 years ago
import java.util.Date;
/**
* Base -
*
* @author wangbing
* @version 0.0.1
* @since 2017-01-01
*/
6 years ago
public class BaseEntity implements Serializable {
6 years ago
5 years ago
/**
*
*/
private long id;
6 years ago
/**
*
*/
private long rowVersion;
/**
*
*/
@JsonIgnore
private long createBy;
/**
*
*/
private Date createTime;
/**
*
*/
@JsonIgnore
private long lastUpdateBy;
/**
*
*/
@JsonIgnore
private Date lastUpdateTime;
/**
*
*/
@JsonIgnore
private boolean isDeleted;
public long getRowVersion() {
return rowVersion;
}
public void setRowVersion(long rowVersion) {
this.rowVersion = rowVersion;
}
5 years ago
public long getId() {
return id;
6 years ago
}
5 years ago
public void setId(long id) {
this.id = id;
6 years ago
}
5 years ago
public long getCreateBy() {
return createBy;
6 years ago
}
5 years ago
public void setCreateBy(long createBy) {
this.createBy = createBy;
6 years ago
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
5 years ago
public long getLastUpdateBy() {
return lastUpdateBy;
}
public void setLastUpdateBy(long lastUpdateBy) {
this.lastUpdateBy = lastUpdateBy;
}
6 years ago
public Date getLastUpdateTime() {
return lastUpdateTime;
}
public void setLastUpdateTime(Date lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
5 years ago
public boolean getIsDeleted() {
5 years ago
return isDeleted;
}
public void setIsDeleted(boolean deleted) {
5 years ago
isDeleted = deleted;
}
6 years ago
}

Powered by TurnKey Linux.