Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 259de27c
authored
Nov 20, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(工作日历):工作日历新增是否全天字段-变更
1 parent
6a240d23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/CalendarUpdateDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/CalendarUpdateDTO.java
View file @
259de27
package
com
.
dituhui
.
pea
.
order
.
dto
;
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
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
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -11,12 +14,14 @@ public class CalendarUpdateDTO {
...
@@ -11,12 +14,14 @@ public class CalendarUpdateDTO {
/**
/**
* 日程是否是全天
* 日程是否是全天
*/
*/
@Not
Blank
(
message
=
"请指定日程是否是全天"
)
@Not
Null
(
message
=
"请指定日程是否是全天"
)
private
Boolean
wholeDay
;
private
Boolean
wholeDay
;
/**
/**
* 日程所属日期, 格式: yyyy-MM-dd
* 日程所属日期, 格式: yyyy-MM-dd
*/
*/
@NotNull
(
message
=
"请指定日程所属日期, 格式:yyyy-MM-dd"
)
@NotNull
(
message
=
"请指定日程所属日期, 格式:yyyy-MM-dd"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
itineraryDate
;
private
Date
itineraryDate
;
/**
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment