package com.landy.gum.base.model;
|
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import com.landy.framework.core.model.BaseModel;
|
|
/**
|
* Model class for ScmLog
|
*/
|
@Entity
|
@Table(name = "scm_log")
|
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
|
public class ScmLogModel extends BaseModel {
|
|
//scmlId
|
private Integer scmlId;
|
//操作者ip
|
private String scmlIp;
|
//操作时间
|
private Date createTime;
|
//操作人
|
private String creator;
|
//日志类型
|
private String scmlType;
|
//操作行为
|
private String scmlOperation;
|
|
/**
|
* Get scmlId
|
*/
|
@Column(name = "scml_id")
|
@Id @GeneratedValue(strategy=GenerationType.AUTO)
|
public Integer getScmlId() {
|
return scmlId;
|
}
|
|
/**
|
* Set scmlId
|
*/
|
public void setScmlId(Integer scmlId) {
|
this.scmlId = scmlId;
|
addValidField("scmlId");
|
}
|
|
/**
|
* Get 操作者ip
|
*/
|
@Column(name = "scml_ip")
|
public String getScmlIp() {
|
return scmlIp;
|
}
|
|
/**
|
* Set 操作者ip
|
*/
|
public void setScmlIp(String scmlIp) {
|
this.scmlIp = scmlIp;
|
addValidField("scmlIp");
|
}
|
|
/**
|
* Get 操作时间
|
*/
|
@Column(name = "create_time")
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
/**
|
* Set 操作时间
|
*/
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
addValidField("createTime");
|
}
|
|
/**
|
* Get 操作人
|
*/
|
@Column(name = "creator")
|
public String getCreator() {
|
return creator;
|
}
|
|
/**
|
* Set 操作人
|
*/
|
public void setCreator(String creator) {
|
this.creator = creator;
|
addValidField("creator");
|
}
|
|
/**
|
* Get 日志类型
|
*/
|
@Column(name = "scml_type")
|
public String getScmlType() {
|
return scmlType;
|
}
|
|
/**
|
* Set 日志类型
|
*/
|
public void setScmlType(String scmlType) {
|
this.scmlType = scmlType;
|
addValidField("scmlType");
|
}
|
|
/**
|
* Get 操作行为
|
*/
|
@Column(name = "scml_operation")
|
public String getScmlOperation() {
|
return scmlOperation;
|
}
|
|
/**
|
* Set 操作行为
|
*/
|
public void setScmlOperation(String scmlOperation) {
|
this.scmlOperation = scmlOperation;
|
addValidField("scmlOperation");
|
}
|
|
}
|