Skip to content

Commit

Permalink
feat: 분석 요청 시각 서버 시로 사용
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Jun 6, 2023
1 parent 30f52c6 commit ca9506a
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,8 @@ public class AnalysisSourceRequest {
private String textExpression;
private String facialExpression;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+9")
private LocalDateTime date;

public AnalysisSourceRequest(final String textExpression,
final String facialExpression, final LocalDateTime date) {
this.textExpression = textExpression;
this.facialExpression = facialExpression;
this.date = LocalDateTime.now();
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
private LocalDateTime date = LocalDateTime.now();

public boolean isNotExistExpressions() {
return textExpression == null && facialExpression == null;
Expand Down

0 comments on commit ca9506a

Please sign in to comment.