package com.gk.hotwork.Domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.gk.hotwork.Domain.Enum.HiddenDangerApplyOperation;
|
import com.gk.hotwork.Domain.Enum.SourceType;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
@TableName("hiddendangerresource")
|
public class HiddenDangerResource implements Serializable {
|
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
|
/** 主键id id **/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/** 操作(上传隐患、上传整改) operation **/
|
private HiddenDangerApplyOperation operation;
|
|
/** 所属隐患id belongid **/
|
private Long belongid;
|
|
/** 源文件名 originalfilename **/
|
private String originalfilename;
|
|
/** 文件名 filename **/
|
private String filename;
|
|
/** 文件类型 type **/
|
private String type;
|
|
/** 相对路径地址 url **/
|
private String url;
|
|
/** 创建时间 createtime **/
|
private Date createtime;
|
|
/** 有效标识 validflag **/
|
private Boolean validflag;
|
|
/** 排序 order **/
|
private Integer sort;
|
|
private SourceType source;
|
|
/** 主键id id **/
|
public Long getId() {
|
return id;
|
}
|
|
/** 主键id id **/
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public HiddenDangerApplyOperation getOperation() {
|
return operation;
|
}
|
|
public void setOperation(HiddenDangerApplyOperation operation) {
|
this.operation = operation;
|
}
|
|
/** 所属隐患id belongid **/
|
public Long getBelongid() {
|
return belongid;
|
}
|
|
/** 所属隐患id belongid **/
|
public void setBelongid(Long belongid) {
|
this.belongid = belongid;
|
}
|
|
/** 源文件名 originalfilename **/
|
public String getOriginalfilename() {
|
return originalfilename;
|
}
|
|
/** 源文件名 originalfilename **/
|
public void setOriginalfilename(String originalfilename) {
|
this.originalfilename = originalfilename == null ? null : originalfilename.trim();
|
}
|
|
/** 文件名 filename **/
|
public String getFilename() {
|
return filename;
|
}
|
|
/** 文件名 filename **/
|
public void setFilename(String filename) {
|
this.filename = filename == null ? null : filename.trim();
|
}
|
|
/** 文件类型 type **/
|
public String getType() {
|
return type;
|
}
|
|
/** 文件类型 type **/
|
public void setType(String type) {
|
this.type = type == null ? null : type.trim();
|
}
|
|
/** 相对路径地址 url **/
|
public String getUrl() {
|
return url;
|
}
|
|
/** 相对路径地址 url **/
|
public void setUrl(String url) {
|
this.url = url == null ? null : url.trim();
|
}
|
|
/** 创建时间 createtime **/
|
public Date getCreatetime() {
|
return createtime;
|
}
|
|
/** 创建时间 createtime **/
|
public void setCreatetime(Date createtime) {
|
this.createtime = createtime;
|
}
|
|
public Boolean getValidflag() {
|
return validflag;
|
}
|
|
public void setValidflag(Boolean validflag) {
|
this.validflag = validflag;
|
}
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
}
|
|
public SourceType getSource() {
|
return source;
|
}
|
|
public void setSource(SourceType source) {
|
this.source = source;
|
}
|
}
|