You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
213 lines
5.3 KiB
213 lines
5.3 KiB
package com.zc.business.domain;
|
|
|
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
/**
|
|
* 信息发布记录对象 dc_publish_info
|
|
*
|
|
* @author ruoyi
|
|
* @date 2024-01-04
|
|
*/
|
|
@ApiModel("信息发布记录对象")
|
|
public class DcPublishInfo extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 主键 */
|
|
@ApiModelProperty(value = "id")
|
|
private Long id;
|
|
|
|
/** 所属机构 */
|
|
@ApiModelProperty(value = "所属机构")
|
|
@Excel(name = "所属机构")
|
|
private Long groupId;
|
|
|
|
/** 所属信息 */
|
|
@ApiModelProperty(value = "所属信息")
|
|
@Excel(name = "所属信息")
|
|
private String subjectId;
|
|
|
|
/** 标题 */
|
|
@ApiModelProperty(value = "标题")
|
|
@Excel(name = "标题")
|
|
private String title;
|
|
|
|
/** 发布渠道1-事件,2-情报板,3-广播 */
|
|
@ApiModelProperty(value = "发布渠道1-事件,2-情报板,3-广播")
|
|
@Excel(name = "发布渠道1-事件,2-情报板,3-广播")
|
|
private Integer publishChannel;
|
|
|
|
/** 审核状态0-未审核, 1-已审核, 2-驳回 */
|
|
@ApiModelProperty(value = "审核状态0-未审核, 1-已审核, 2-驳回")
|
|
@Excel(name = "审核状态0-未审核, 1-已审核, 2-驳回")
|
|
private Integer isverify;
|
|
|
|
/** 发布者 */
|
|
@ApiModelProperty(value = "发布者")
|
|
@Excel(name = "发布者")
|
|
private String publisher;
|
|
|
|
/** 审核者 */
|
|
@ApiModelProperty(value = "审核者")
|
|
@Excel(name = "审核者")
|
|
private String auditor;
|
|
|
|
/** 发布时间 */
|
|
@ApiModelProperty(value = "发布时间")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
private Date publishTime;
|
|
|
|
/** 审核时间 */
|
|
@ApiModelProperty(value = "审核时间")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
private Date auditTime;
|
|
|
|
/** 发布状态0失败, 1成功, 2草稿 */
|
|
@ApiModelProperty(value = "发布状态0失败, 1成功, 2草稿")
|
|
@Excel(name = "发布状态0失败, 1成功, 2草稿")
|
|
private Integer publishStatus;
|
|
|
|
/** 内容 json结构 */
|
|
@ApiModelProperty(value = "内容 json结构")
|
|
@Excel(name = "内容 json结构")
|
|
private String content;
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setGroupId(Long groupId)
|
|
{
|
|
this.groupId = groupId;
|
|
}
|
|
|
|
public Long getGroupId()
|
|
{
|
|
return groupId;
|
|
}
|
|
public void setSubjectId(String subjectId)
|
|
{
|
|
this.subjectId = subjectId;
|
|
}
|
|
|
|
public String getSubjectId()
|
|
{
|
|
return subjectId;
|
|
}
|
|
public void setTitle(String title)
|
|
{
|
|
this.title = title;
|
|
}
|
|
|
|
public String getTitle()
|
|
{
|
|
return title;
|
|
}
|
|
public void setPublishChannel(Integer publishChannel)
|
|
{
|
|
this.publishChannel = publishChannel;
|
|
}
|
|
|
|
public Integer getPublishChannel()
|
|
{
|
|
return publishChannel;
|
|
}
|
|
public void setIsverify(Integer isverify)
|
|
{
|
|
this.isverify = isverify;
|
|
}
|
|
|
|
public Integer getIsverify()
|
|
{
|
|
return isverify;
|
|
}
|
|
public void setPublisher(String publisher)
|
|
{
|
|
this.publisher = publisher;
|
|
}
|
|
|
|
public String getPublisher()
|
|
{
|
|
return publisher;
|
|
}
|
|
public void setAuditor(String auditor)
|
|
{
|
|
this.auditor = auditor;
|
|
}
|
|
|
|
public String getAuditor()
|
|
{
|
|
return auditor;
|
|
}
|
|
public void setPublishTime(Date publishTime)
|
|
{
|
|
this.publishTime = publishTime;
|
|
}
|
|
|
|
public Date getPublishTime()
|
|
{
|
|
return publishTime;
|
|
}
|
|
public void setAuditTime(Date auditTime)
|
|
{
|
|
this.auditTime = auditTime;
|
|
}
|
|
|
|
public Date getAuditTime()
|
|
{
|
|
return auditTime;
|
|
}
|
|
public void setPublishStatus(Integer publishStatus)
|
|
{
|
|
this.publishStatus = publishStatus;
|
|
}
|
|
|
|
public Integer getPublishStatus()
|
|
{
|
|
return publishStatus;
|
|
}
|
|
public void setContent(String content)
|
|
{
|
|
this.content = content;
|
|
}
|
|
|
|
public String getContent()
|
|
{
|
|
return content;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("groupId", getGroupId())
|
|
.append("subjectId", getSubjectId())
|
|
.append("title", getTitle())
|
|
.append("publishChannel", getPublishChannel())
|
|
.append("isverify", getIsverify())
|
|
.append("publisher", getPublisher())
|
|
.append("auditor", getAuditor())
|
|
.append("publishTime", getPublishTime())
|
|
.append("auditTime", getAuditTime())
|
|
.append("publishStatus", getPublishStatus())
|
|
.append("content", getContent())
|
|
.append("remark", getRemark())
|
|
.append("createTime", getCreateTime())
|
|
.append("updateTime", getUpdateTime())
|
|
.toString();
|
|
}
|
|
}
|
|
|