Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
6ef445ce
Commit
6ef445ce
authored
Dec 23, 2024
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【(历史bug)后台-客户端公告】新增/修改
parent
7f97424c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
NoticeBaseVO.java
...odule/system/controller/admin/notice/vo/NoticeBaseVO.java
+7
-1
NoticeDO.java
...r/yudao/module/system/dal/dataobject/notice/NoticeDO.java
+8
-1
No files found.
yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notice/vo/NoticeBaseVO.java
View file @
6ef445ce
...
@@ -3,7 +3,6 @@ package cn.iocoder.yudao.module.system.controller.admin.notice.vo;
...
@@ -3,7 +3,6 @@ package cn.iocoder.yudao.module.system.controller.admin.notice.vo;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
@@ -28,6 +27,10 @@ public class NoticeBaseVO {
...
@@ -28,6 +27,10 @@ public class NoticeBaseVO {
@Size
(
max
=
50
,
message
=
"公告标题不能超过50个字符"
)
@Size
(
max
=
50
,
message
=
"公告标题不能超过50个字符"
)
private
String
titleEn
;
private
String
titleEn
;
@ApiModelProperty
(
value
=
"公告标题法文"
)
@Size
(
max
=
50
,
message
=
"公告标题不能超过50个字符"
)
private
String
titleFr
;
@ApiModelProperty
(
value
=
"公告标题"
,
required
=
true
,
example
=
"小博主"
)
@ApiModelProperty
(
value
=
"公告标题"
,
required
=
true
,
example
=
"小博主"
)
@NotNull
(
message
=
"公告类型不能为空"
)
@NotNull
(
message
=
"公告类型不能为空"
)
private
Integer
type
;
private
Integer
type
;
...
@@ -38,6 +41,9 @@ public class NoticeBaseVO {
...
@@ -38,6 +41,9 @@ public class NoticeBaseVO {
@ApiModelProperty
(
value
=
"公告内容英文"
)
@ApiModelProperty
(
value
=
"公告内容英文"
)
private
String
contentEn
;
private
String
contentEn
;
@ApiModelProperty
(
value
=
"公告标题法文"
)
private
String
contentFr
;
@ApiModelProperty
(
value
=
"状态"
,
required
=
true
,
example
=
"1"
,
notes
=
"参见 CommonStatusEnum 枚举类"
)
@ApiModelProperty
(
value
=
"状态"
,
required
=
true
,
example
=
"1"
,
notes
=
"参见 CommonStatusEnum 枚举类"
)
private
Integer
status
;
private
Integer
status
;
...
...
yudao-module-system/yudao-module-system-impl/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/notice/NoticeDO.java
View file @
6ef445ce
...
@@ -31,7 +31,10 @@ public class NoticeDO extends BaseDO {
...
@@ -31,7 +31,10 @@ public class NoticeDO extends BaseDO {
/**
/**
* 公告标题英文
* 公告标题英文
*/
*/
private
String
titleEn
;
private
String
titleEn
;
/**
* 公告标题法文
*/
private
String
titleFr
;
/**
/**
* 公告类型
* 公告类型
* <p>
* <p>
...
@@ -48,6 +51,10 @@ public class NoticeDO extends BaseDO {
...
@@ -48,6 +51,10 @@ public class NoticeDO extends BaseDO {
* 公告内容英文
* 公告内容英文
*/
*/
private
String
contentEn
;
private
String
contentEn
;
/**
* 公告内容法文
*/
private
String
contentFr
;
/**
/**
* 公告状态
* 公告状态
* <p>
* <p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment