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_board_release_log * * @author ruoyi * @date 2024-01-05 */ @ApiModel("情报板内容发布日志对象") public class DcBoardReleaseLog extends BaseEntity { private static final long serialVersionUID = 1L; /** $column.columnComment */ @ApiModelProperty(value="id") private Long id; /** 设备编号 */ @Excel(name = "设备编号") @ApiModelProperty(value="设备编号") private String deviceId; /** 设备名称 */ @Excel(name = "设备名称") @ApiModelProperty(value="设备名称") private String deviceName; /** 桩号 */ @Excel(name = "桩号") @ApiModelProperty(value="桩号") private String stakeMark; /** 方向1-上行,2-中,3-下行 */ @Excel(name = "方向1-上行,2-中,3-下行") @ApiModelProperty(value="方向1-上行,2-中,3-下行") private String direction; /** 发布内容 */ @Excel(name = "发布内容") @ApiModelProperty(value="发布内容") private String releaseContent; /** 发布状态(0:成功;1:失败) */ @Excel(name = "发布状态", readConverterExp = "0=:成功;1:失败") @ApiModelProperty(value="发布状态0=:成功;1:失败") private String releaseStatus; /** 发布时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value="发布时间") @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date releaseTime; /** 发布机构 */ @Excel(name = "发布机构") @ApiModelProperty(value="发布机构") private String releaseDeptName; /** 发布机构 */ @Excel(name = "发布机构") @ApiModelProperty(value="发布机构id") private String releaseDeptId; /** 发布用户 */ @Excel(name = "发布用户") @ApiModelProperty(value="发布用户") private String releaseUserName; /** 发布用户 */ @Excel(name = "发布用户") @ApiModelProperty(value="发布用户") private String releaseUserId; /** 发布端 */ @Excel(name = "发布端") @ApiModelProperty(value="发布端(00=系统用户,01=智慧大脑,02=GIS+BIM") private String platform; /** ip地址 */ @Excel(name = "ip地址") @ApiModelProperty(value="ip地址") private String releaseIp; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setDeviceId(String deviceId) { this.deviceId = deviceId; } public String getDeviceId() { return deviceId; } public void setDeviceName(String deviceName) { this.deviceName = deviceName; } public String getDeviceName() { return deviceName; } public String getStakeMark() { return stakeMark; } public void setStakeMark(String stakeMark) { this.stakeMark = stakeMark; } public String getDirection() { return direction; } public void setDirection(String direction) { this.direction = direction; } public void setReleaseContent(String releaseContent) { this.releaseContent = releaseContent; } public String getReleaseContent() { return releaseContent; } public void setReleaseStatus(String releaseStatus) { this.releaseStatus = releaseStatus; } public String getReleaseStatus() { return releaseStatus; } public void setReleaseTime(Date releaseTime) { this.releaseTime = releaseTime; } public Date getReleaseTime() { return releaseTime; } public void setReleaseDeptName(String releaseDeptName) { this.releaseDeptName = releaseDeptName; } public String getReleaseDeptName() { return releaseDeptName; } public void setReleaseDeptId(String releaseDeptId) { this.releaseDeptId = releaseDeptId; } public String getReleaseDeptId() { return releaseDeptId; } public void setReleaseUserName(String releaseUserName) { this.releaseUserName = releaseUserName; } public String getReleaseUserName() { return releaseUserName; } public void setReleaseUserId(String releaseUserId) { this.releaseUserId = releaseUserId; } public String getReleaseUserId() { return releaseUserId; } public String getPlatform() { return platform; } public void setPlatform(String platform) { this.platform = platform; } public void setReleaseIp(String releaseIp) { this.releaseIp = releaseIp; } public String getReleaseIp() { return releaseIp; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("deviceId", getDeviceId()) .append("deviceName", getDeviceName()) .append("releaseContent", getReleaseContent()) .append("releaseStatus", getReleaseStatus()) .append("releaseTime", getReleaseTime()) .append("releaseDeptName", getReleaseDeptName()) .append("releaseDeptId", getReleaseDeptId()) .append("releaseUserName", getReleaseUserName()) .append("releaseUserId", getReleaseUserId()) .append("releaseIp", getReleaseIp()) .toString(); } }