package com.qxueyou.scc.sys.model;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import org.hibernate.annotations.GenericGenerator;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.qxueyou.scc.base.model.ITrace;
|
|
@Entity
|
@Table(name="sys_file_upload_trace")
|
public class SysFileUploadTrace implements Serializable,ITrace{
|
|
private static final long serialVersionUID = 1L;
|
|
public static final int FILE_USE = 1 ;
|
public static final int FILE_NOT_USE = 2 ;
|
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name="UPLOAD_FILE_ID", unique=true, nullable=false, length=32)
|
private String uploadFileId;
|
|
@Column(name="MODULE", length=255)
|
private String module;
|
|
@Column(name="FULL_PATH", length=255)
|
private String fullPath;
|
|
@Column(name="MODULE_TYPE", length=255)
|
private String moduleType;
|
|
@Column(name="USE_FLAG", length=1)
|
private Integer useFlag;
|
|
@Column(name="REMARK", length=255)
|
private String remark;
|
|
@Column(name="TABLE_NAME", length=255)
|
private String tableName;
|
|
@Column(name="BUSSINESS_ID", length=255)
|
private String bussinessId;
|
|
@Column(name="CREATE_ID", nullable=false, length=32)
|
private String createId;
|
|
@Column(name="CREATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
@Column(name="CREATOR", nullable=false, length=100)
|
private String creator;
|
|
@Column(name="DELETE_FLAG", nullable=false)
|
private boolean deleteFlag;
|
|
@Column(name="UPDATE_ID", length=32)
|
private String updateId;
|
|
@Column(name="UPDATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
@Column(name="UPDATOR", length=100)
|
private String updator;
|
|
|
|
/**
|
* @return the uploadFileId
|
*/
|
public String getUploadFileId() {
|
return uploadFileId;
|
}
|
|
/**
|
* @param uploadFileId the uploadFileId to set
|
*/
|
public void setUploadFileId(String uploadFileId) {
|
this.uploadFileId = uploadFileId;
|
}
|
|
/**
|
* @return the module
|
*/
|
public String getModule() {
|
return module;
|
}
|
|
/**
|
* @param module the module to set
|
*/
|
public void setModule(String module) {
|
this.module = module;
|
}
|
|
/**
|
* @return the fullPath
|
*/
|
public String getFullPath() {
|
return fullPath;
|
}
|
|
/**
|
* @param fullPath the fullPath to set
|
*/
|
public void setFullPath(String fullPath) {
|
this.fullPath = fullPath;
|
}
|
|
/**
|
* @return the moduleType
|
*/
|
public String getModuleType() {
|
return moduleType;
|
}
|
|
/**
|
* @param moduleType the moduleType to set
|
*/
|
public void setModuleType(String moduleType) {
|
this.moduleType = moduleType;
|
}
|
|
/**
|
* @return the useFlag
|
*/
|
public Integer getUseFlag() {
|
return useFlag;
|
}
|
|
/**
|
* @param useFlag the useFlag to set
|
*/
|
public void setUseFlag(Integer useFlag) {
|
this.useFlag = useFlag;
|
}
|
|
/**
|
* @return the remark
|
*/
|
public String getRemark() {
|
return remark;
|
}
|
|
/**
|
* @param remark the remark to set
|
*/
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
/**
|
* @return the tableName
|
*/
|
public String getTableName() {
|
return tableName;
|
}
|
|
/**
|
* @param tableName the tableName to set
|
*/
|
public void setTableName(String tableName) {
|
this.tableName = tableName;
|
}
|
|
/**
|
* @return the bussinessId
|
*/
|
public String getBussinessId() {
|
return bussinessId;
|
}
|
|
/**
|
* @param bussinessId the bussinessId to set
|
*/
|
public void setBussinessId(String bussinessId) {
|
this.bussinessId = bussinessId;
|
}
|
|
/**
|
* @return the createId
|
*/
|
public String getCreateId() {
|
return createId;
|
}
|
|
/**
|
* @param createId the createId to set
|
*/
|
public void setCreateId(String createId) {
|
this.createId = createId;
|
}
|
|
/**
|
* @return the createTime
|
*/
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
/**
|
* @param createTime the createTime to set
|
*/
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
/**
|
* @return the creator
|
*/
|
public String getCreator() {
|
return creator;
|
}
|
|
/**
|
* @param creator the creator to set
|
*/
|
public void setCreator(String creator) {
|
this.creator = creator;
|
}
|
|
/**
|
* @return the deleteFlag
|
*/
|
public boolean getDeleteFlag() {
|
return deleteFlag;
|
}
|
|
/**
|
* @param deleteFlag the deleteFlag to set
|
*/
|
public void setDeleteFlag(boolean deleteFlag) {
|
this.deleteFlag = deleteFlag;
|
}
|
|
/**
|
* @return the updateId
|
*/
|
public String getUpdateId() {
|
return updateId;
|
}
|
|
/**
|
* @param updateId the updateId to set
|
*/
|
public void setUpdateId(String updateId) {
|
this.updateId = updateId;
|
}
|
|
/**
|
* @return the updateTime
|
*/
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
/**
|
* @param updateTime the updateTime to set
|
*/
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
/**
|
* @return the updator
|
*/
|
public String getUpdator() {
|
return updator;
|
}
|
|
/**
|
* @param updator the updator to set
|
*/
|
public void setUpdator(String updator) {
|
this.updator = updator;
|
}
|
|
|
|
}
|