|
|
|
@ -12,156 +12,189 @@ import java.util.Map; |
|
|
|
|
|
|
|
/** |
|
|
|
* 【请填写功能名称】对象 scene_manage |
|
|
|
* |
|
|
|
* |
|
|
|
* @author ruoyi |
|
|
|
* @date 2023-12-25 |
|
|
|
*/ |
|
|
|
public class SceneManage implements Serializable |
|
|
|
{ |
|
|
|
public class SceneManage implements Serializable { |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
/** 主键 */ |
|
|
|
/** |
|
|
|
* 主键 |
|
|
|
*/ |
|
|
|
private Long id; |
|
|
|
|
|
|
|
/** 场景名称 */ |
|
|
|
/** |
|
|
|
* 场景名称 |
|
|
|
*/ |
|
|
|
@Excel(name = "场景名称") |
|
|
|
private String name; |
|
|
|
|
|
|
|
/** 题目类型0:文字 1:图片 2:视频*/ |
|
|
|
/** |
|
|
|
* 题目类型0:文字 1:图片 2:视频 |
|
|
|
*/ |
|
|
|
@Excel(name = "题目类型") |
|
|
|
private Integer type; |
|
|
|
|
|
|
|
/** 二维码链接 */ |
|
|
|
/** |
|
|
|
* 二维码链接 |
|
|
|
*/ |
|
|
|
@Excel(name = "二维码链接") |
|
|
|
private String url; |
|
|
|
|
|
|
|
/** 来源单位 */ |
|
|
|
/** |
|
|
|
* 来源单位 |
|
|
|
*/ |
|
|
|
@Excel(name = "来源单位") |
|
|
|
private String sourceUnit; |
|
|
|
|
|
|
|
/** 是否公开0是1否 */ |
|
|
|
/** |
|
|
|
* 是否公开0是1否 |
|
|
|
*/ |
|
|
|
@Excel(name = "是否公开0是1否") |
|
|
|
private Integer isOpen; |
|
|
|
|
|
|
|
/** 状态 1:上架中 2:上架 3:下架中 4:下架*/ |
|
|
|
/** |
|
|
|
* 状态 1:上架中 2:上架 3:下架中 4:下架 |
|
|
|
*/ |
|
|
|
@Excel(name = "状态") |
|
|
|
private Integer status; |
|
|
|
|
|
|
|
/** 是否删除0是1否 */ |
|
|
|
/** |
|
|
|
* 是否删除0是1否 |
|
|
|
*/ |
|
|
|
@Excel(name = "是否删除0是1否") |
|
|
|
private Integer isDelete; |
|
|
|
|
|
|
|
/** 创建人 */ |
|
|
|
/** |
|
|
|
* 创建人 |
|
|
|
*/ |
|
|
|
@Excel(name = "创建人") |
|
|
|
private String creator; |
|
|
|
|
|
|
|
/** |
|
|
|
* 演练背景 |
|
|
|
*/ |
|
|
|
@Excel(name = "演练背景") |
|
|
|
private String sceneBackground; |
|
|
|
|
|
|
|
/** |
|
|
|
* 描述 |
|
|
|
*/ |
|
|
|
@Excel(name = "描述") |
|
|
|
private String describe; |
|
|
|
|
|
|
|
/** 创建时间 */ |
|
|
|
/** |
|
|
|
* 排序 |
|
|
|
*/ |
|
|
|
@Excel(name = "排序") |
|
|
|
private Integer sort; |
|
|
|
|
|
|
|
/** |
|
|
|
* 使用人数 |
|
|
|
*/ |
|
|
|
@Excel(name = "使用人数") |
|
|
|
private Long useTotal; |
|
|
|
|
|
|
|
/** |
|
|
|
* 创建时间 |
|
|
|
*/ |
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
private Date createTime; |
|
|
|
|
|
|
|
private Date createTimeEnd; |
|
|
|
|
|
|
|
/** 更新时间 */ |
|
|
|
/** |
|
|
|
* 更新时间 |
|
|
|
*/ |
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
private Date updateTime; |
|
|
|
|
|
|
|
/** 请求参数 */ |
|
|
|
/** |
|
|
|
* 请求参数 |
|
|
|
*/ |
|
|
|
private Map<String, Object> params; |
|
|
|
|
|
|
|
public void setId(Long id) |
|
|
|
{ |
|
|
|
public void setId(Long id) { |
|
|
|
this.id = id; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getId() |
|
|
|
{ |
|
|
|
public Long getId() { |
|
|
|
return id; |
|
|
|
} |
|
|
|
public void setName(String name) |
|
|
|
{ |
|
|
|
|
|
|
|
public void setName(String name) { |
|
|
|
this.name = name; |
|
|
|
} |
|
|
|
|
|
|
|
public String getName() |
|
|
|
{ |
|
|
|
public String getName() { |
|
|
|
return name; |
|
|
|
} |
|
|
|
public void setType(Integer type) |
|
|
|
{ |
|
|
|
|
|
|
|
public void setType(Integer type) { |
|
|
|
this.type = type; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getType() |
|
|
|
{ |
|
|
|
public Integer getType() { |
|
|
|
return type; |
|
|
|
} |
|
|
|
public void setUrl(String url) |
|
|
|
{ |
|
|
|
|
|
|
|
public void setUrl(String url) { |
|
|
|
this.url = url; |
|
|
|
} |
|
|
|
|
|
|
|
public String getUrl() |
|
|
|
{ |
|
|
|
public String getUrl() { |
|
|
|
return url; |
|
|
|
} |
|
|
|
public void setSourceUnit(String sourceUnit) |
|
|
|
{ |
|
|
|
|
|
|
|
public void setSourceUnit(String sourceUnit) { |
|
|
|
this.sourceUnit = sourceUnit; |
|
|
|
} |
|
|
|
|
|
|
|
public String getSourceUnit() |
|
|
|
{ |
|
|
|
public String getSourceUnit() { |
|
|
|
return sourceUnit; |
|
|
|
} |
|
|
|
public void setIsOpen(Integer isOpen) |
|
|
|
{ |
|
|
|
|
|
|
|
public void setIsOpen(Integer isOpen) { |
|
|
|
this.isOpen = isOpen; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getIsOpen() |
|
|
|
{ |
|
|
|
public Integer getIsOpen() { |
|
|
|
return isOpen; |
|
|
|
} |
|
|
|
public void setStatus(Integer status) |
|
|
|
{ |
|
|
|
|
|
|
|
public void setStatus(Integer status) { |
|
|
|
this.status = status; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getStatus() |
|
|
|
{ |
|
|
|
public Integer getStatus() { |
|
|
|
return status; |
|
|
|
} |
|
|
|
public void setIsDelete(Integer isDelete) |
|
|
|
{ |
|
|
|
|
|
|
|
public void setIsDelete(Integer isDelete) { |
|
|
|
this.isDelete = isDelete; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getIsDelete() |
|
|
|
{ |
|
|
|
public Integer getIsDelete() { |
|
|
|
return isDelete; |
|
|
|
} |
|
|
|
public void setCreator(String creator) |
|
|
|
{ |
|
|
|
|
|
|
|
public void setCreator(String creator) { |
|
|
|
this.creator = creator; |
|
|
|
} |
|
|
|
|
|
|
|
public String getCreator() |
|
|
|
{ |
|
|
|
public String getCreator() { |
|
|
|
return creator; |
|
|
|
} |
|
|
|
|
|
|
|
public Date getCreateTime() { |
|
|
|
return createTime; |
|
|
|
} |
|
|
|
|
|
|
|
public void setCreateTime(Date createTime) { |
|
|
|
this.createTime = createTime; |
|
|
|
} |
|
|
|
|
|
|
|
public Date getUpdateTime() { |
|
|
|
return updateTime; |
|
|
|
} |
|
|
|
@ -180,18 +213,18 @@ public class SceneManage implements Serializable |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
|
|
.append("id", getId()) |
|
|
|
.append("name", getName()) |
|
|
|
.append("type", getType()) |
|
|
|
.append("url", getUrl()) |
|
|
|
.append("sourceUnit", getSourceUnit()) |
|
|
|
.append("isOpen", getIsOpen()) |
|
|
|
.append("status", getStatus()) |
|
|
|
.append("isDelete", getIsDelete()) |
|
|
|
.append("creator", getCreator()) |
|
|
|
.append("createTime", getCreateTime()) |
|
|
|
.toString(); |
|
|
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) |
|
|
|
.append("id", getId()) |
|
|
|
.append("name", getName()) |
|
|
|
.append("type", getType()) |
|
|
|
.append("url", getUrl()) |
|
|
|
.append("sourceUnit", getSourceUnit()) |
|
|
|
.append("isOpen", getIsOpen()) |
|
|
|
.append("status", getStatus()) |
|
|
|
.append("isDelete", getIsDelete()) |
|
|
|
.append("creator", getCreator()) |
|
|
|
.append("createTime", getCreateTime()) |
|
|
|
.toString(); |
|
|
|
} |
|
|
|
|
|
|
|
public Date getCreateTimeEnd() { |
|
|
|
@ -217,4 +250,20 @@ public class SceneManage implements Serializable |
|
|
|
public void setDescribe(String describe) { |
|
|
|
this.describe = describe; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getSort() { |
|
|
|
return sort; |
|
|
|
} |
|
|
|
|
|
|
|
public void setSort(Integer sort) { |
|
|
|
this.sort = sort; |
|
|
|
} |
|
|
|
|
|
|
|
public Long getUseTotal() { |
|
|
|
return useTotal; |
|
|
|
} |
|
|
|
|
|
|
|
public void setUseTotal(Long useTotal) { |
|
|
|
this.useTotal = useTotal; |
|
|
|
} |
|
|
|
} |
|
|
|
|