|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:FIN_FILE *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class FinFile extends BasePo<FinFile> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private String userName = null;
|
@JsonIgnore
|
protected boolean isset_userName = false;
|
|
private String contentType = null;
|
@JsonIgnore
|
protected boolean isset_contentType = false;
|
|
private String fileName = null;
|
@JsonIgnore
|
protected boolean isset_fileName = false;
|
|
private String fileExt = null;
|
@JsonIgnore
|
protected boolean isset_fileExt = false;
|
|
private String filePath = null;
|
@JsonIgnore
|
protected boolean isset_filePath = false;
|
|
private Long fileSize = null;
|
@JsonIgnore
|
protected boolean isset_fileSize = false;
|
|
private String fileType = null;
|
@JsonIgnore
|
protected boolean isset_fileType = false;
|
|
private String summary = null;
|
@JsonIgnore
|
protected boolean isset_summary = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public FinFile() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public FinFile(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((Long) value);
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null;
|
}
|
|
public Long getCreateTime() {
|
return this.createTime;
|
}
|
|
public void setCreateTime(Long createTime) {
|
this.createTime = createTime;
|
this.isset_createTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreateTime() {
|
return this.createTime == null;
|
}
|
|
public String getUserName() {
|
return this.userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
this.isset_userName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUserName() {
|
return this.userName == null || this.userName.length() == 0;
|
}
|
|
public String getContentType() {
|
return this.contentType;
|
}
|
|
public void setContentType(String contentType) {
|
this.contentType = contentType;
|
this.isset_contentType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyContentType() {
|
return this.contentType == null || this.contentType.length() == 0;
|
}
|
|
public String getFileName() {
|
return this.fileName;
|
}
|
|
public void setFileName(String fileName) {
|
this.fileName = fileName;
|
this.isset_fileName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFileName() {
|
return this.fileName == null || this.fileName.length() == 0;
|
}
|
|
public String getFileExt() {
|
return this.fileExt;
|
}
|
|
public void setFileExt(String fileExt) {
|
this.fileExt = fileExt;
|
this.isset_fileExt = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFileExt() {
|
return this.fileExt == null || this.fileExt.length() == 0;
|
}
|
|
public String getFilePath() {
|
return this.filePath;
|
}
|
|
public void setFilePath(String filePath) {
|
this.filePath = filePath;
|
this.isset_filePath = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFilePath() {
|
return this.filePath == null || this.filePath.length() == 0;
|
}
|
|
public Long getFileSize() {
|
return this.fileSize;
|
}
|
|
public void setFileSize(Long fileSize) {
|
this.fileSize = fileSize;
|
this.isset_fileSize = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFileSize() {
|
return this.fileSize == null;
|
}
|
|
public String getFileType() {
|
return this.fileType;
|
}
|
|
public void setFileType(String fileType) {
|
this.fileType = fileType;
|
this.isset_fileType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFileType() {
|
return this.fileType == null || this.fileType.length() == 0;
|
}
|
|
public String getSummary() {
|
return this.summary;
|
}
|
|
public void setSummary(String summary) {
|
this.summary = summary;
|
this.isset_summary = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySummary() {
|
return this.summary == null || this.summary.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("createTime=").append(this.createTime)
|
.append("userName=").append(this.userName)
|
.append("contentType=").append(this.contentType)
|
.append("fileName=").append(this.fileName)
|
.append("fileExt=").append(this.fileExt)
|
.append("filePath=").append(this.filePath)
|
.append("fileSize=").append(this.fileSize)
|
.append("fileType=").append(this.fileType)
|
.append("summary=").append(this.summary)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public FinFile $clone() {
|
FinFile fin_file = new FinFile();
|
|
// 数据库名称
|
//fin_file.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
fin_file.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_createTime) {
|
fin_file.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_userName) {
|
fin_file.setUserName(this.getUserName());
|
}
|
if (this.isset_contentType) {
|
fin_file.setContentType(this.getContentType());
|
}
|
if (this.isset_fileName) {
|
fin_file.setFileName(this.getFileName());
|
}
|
if (this.isset_fileExt) {
|
fin_file.setFileExt(this.getFileExt());
|
}
|
if (this.isset_filePath) {
|
fin_file.setFilePath(this.getFilePath());
|
}
|
if (this.isset_fileSize) {
|
fin_file.setFileSize(this.getFileSize());
|
}
|
if (this.isset_fileType) {
|
fin_file.setFileType(this.getFileType());
|
}
|
if (this.isset_summary) {
|
fin_file.setSummary(this.getSummary());
|
}
|
return fin_file;
|
}
|
}
|