| | |
| | | package com.ruoyi.project.system.domain;
|
| | |
|
| | | import javax.validation.constraints.NotBlank;
|
| | | import javax.validation.constraints.Size;
|
| | | import org.apache.commons.lang3.builder.ToStringBuilder;
|
| | | import org.apache.commons.lang3.builder.ToStringStyle;
|
| | | import com.ruoyi.framework.web.domain.BaseEntity;
|
| | |
|
| | | /**
|
| | |
| | | this.noticeTitle = noticeTitle;
|
| | | }
|
| | |
|
| | | @NotBlank(message = "公告标题不能为空")
|
| | | @Size(min = 0, max = 50, message = "公告标题不能超过50个字符")
|
| | | public String getNoticeTitle()
|
| | | {
|
| | | return noticeTitle;
|
| | |
| | | {
|
| | | return status;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public String toString() {
|
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
| | | .append("noticeId", getNoticeId())
|
| | | .append("noticeTitle", getNoticeTitle())
|
| | | .append("noticeType", getNoticeType())
|
| | | .append("noticeContent", getNoticeContent())
|
| | | .append("status", getStatus())
|
| | | .append("createBy", getCreateBy())
|
| | | .append("createTime", getCreateTime())
|
| | | .append("updateBy", getUpdateBy())
|
| | | .append("updateTime", getUpdateTime())
|
| | | .append("remark", getRemark())
|
| | | .toString();
|
| | | }
|
| | | }
|