package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:S_FILE *
|
* @author genrator
|
*/
|
@Deprecated
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class S_file extends BasePo<S_file> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final S_file ROW_MAPPER = new S_file();
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long create_time = null;
|
@JsonIgnore
|
protected boolean isset_create_time = false;
|
|
private String user_name = null;
|
@JsonIgnore
|
protected boolean isset_user_name = false;
|
|
private String content_type = null;
|
@JsonIgnore
|
protected boolean isset_content_type = false;
|
|
private String file_name = null;
|
@JsonIgnore
|
protected boolean isset_file_name = false;
|
|
private String file_ext = null;
|
@JsonIgnore
|
protected boolean isset_file_ext = false;
|
|
private String file_path = null;
|
@JsonIgnore
|
protected boolean isset_file_path = false;
|
|
private Long file_size = null;
|
@JsonIgnore
|
protected boolean isset_file_size = false;
|
|
private String file_store_type = null;
|
@JsonIgnore
|
protected boolean isset_file_store_type = false;
|
|
private String group_id = null;
|
@JsonIgnore
|
protected boolean isset_group_id = false;
|
|
private String summary = null;
|
@JsonIgnore
|
protected boolean isset_summary = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public S_file() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public S_file(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 getCreate_time() {
|
return this.create_time;
|
}
|
|
public void setCreate_time(Long create_time) {
|
this.create_time = create_time;
|
this.isset_create_time = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreate_time() {
|
return this.create_time == null;
|
}
|
|
public String getUser_name() {
|
return this.user_name;
|
}
|
|
public void setUser_name(String user_name) {
|
this.user_name = user_name;
|
this.isset_user_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUser_name() {
|
return this.user_name == null || this.user_name.length() == 0;
|
}
|
|
public String getContent_type() {
|
return this.content_type;
|
}
|
|
public void setContent_type(String content_type) {
|
this.content_type = content_type;
|
this.isset_content_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyContent_type() {
|
return this.content_type == null || this.content_type.length() == 0;
|
}
|
|
public String getFile_name() {
|
return this.file_name;
|
}
|
|
public void setFile_name(String file_name) {
|
this.file_name = file_name;
|
this.isset_file_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFile_name() {
|
return this.file_name == null || this.file_name.length() == 0;
|
}
|
|
public String getFile_ext() {
|
return this.file_ext;
|
}
|
|
public void setFile_ext(String file_ext) {
|
this.file_ext = file_ext;
|
this.isset_file_ext = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFile_ext() {
|
return this.file_ext == null || this.file_ext.length() == 0;
|
}
|
|
public String getFile_path() {
|
return this.file_path;
|
}
|
|
public void setFile_path(String file_path) {
|
this.file_path = file_path;
|
this.isset_file_path = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFile_path() {
|
return this.file_path == null || this.file_path.length() == 0;
|
}
|
|
public Long getFile_size() {
|
return this.file_size;
|
}
|
|
public void setFile_size(Long file_size) {
|
this.file_size = file_size;
|
this.isset_file_size = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFile_size() {
|
return this.file_size == null;
|
}
|
|
public String getFile_store_type() {
|
return this.file_store_type;
|
}
|
|
public void setFile_store_type(String file_store_type) {
|
this.file_store_type = file_store_type;
|
this.isset_file_store_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFile_store_type() {
|
return this.file_store_type == null || this.file_store_type.length() == 0;
|
}
|
|
public String getGroup_id() {
|
return this.group_id;
|
}
|
|
public void setGroup_id(String group_id) {
|
this.group_id = group_id;
|
this.isset_group_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyGroup_id() {
|
return this.group_id == null || this.group_id.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("create_time=").append(this.create_time)
|
.append("user_name=").append(this.user_name)
|
.append("content_type=").append(this.content_type)
|
.append("file_name=").append(this.file_name)
|
.append("file_ext=").append(this.file_ext)
|
.append("file_path=").append(this.file_path)
|
.append("file_size=").append(this.file_size)
|
.append("file_store_type=").append(this.file_store_type)
|
.append("group_id=").append(this.group_id)
|
.append("summary=").append(this.summary)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public S_file $clone() {
|
S_file s_file = new S_file();
|
|
// 数据库名称
|
//s_file.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
s_file.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_create_time) {
|
s_file.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_user_name) {
|
s_file.setUser_name(this.getUser_name());
|
}
|
if (this.isset_content_type) {
|
s_file.setContent_type(this.getContent_type());
|
}
|
if (this.isset_file_name) {
|
s_file.setFile_name(this.getFile_name());
|
}
|
if (this.isset_file_ext) {
|
s_file.setFile_ext(this.getFile_ext());
|
}
|
if (this.isset_file_path) {
|
s_file.setFile_path(this.getFile_path());
|
}
|
if (this.isset_file_size) {
|
s_file.setFile_size(this.getFile_size());
|
}
|
if (this.isset_file_store_type) {
|
s_file.setFile_store_type(this.getFile_store_type());
|
}
|
if (this.isset_group_id) {
|
s_file.setGroup_id(this.getGroup_id());
|
}
|
if (this.isset_summary) {
|
s_file.setSummary(this.getSummary());
|
}
|
return s_file;
|
}
|
}
|