|
|
@@ -2,8 +2,10 @@ package com.xjrsoft.module.student.dto;
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
+import java.time.LocalDate;
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
@@ -30,12 +32,15 @@ public class AddBasePunishmentStudentHandleDto implements Serializable {
|
|
|
/**
|
|
|
* 调整日期
|
|
|
*/
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
@ApiModelProperty("调整日期")
|
|
|
- private Date adjustDate;
|
|
|
+ private LocalDate adjustDate;
|
|
|
/**
|
|
|
* 调整原因
|
|
|
*/
|
|
|
@ApiModelProperty("调整原因")
|
|
|
private String adjustReason;
|
|
|
|
|
|
+ @ApiModelProperty("处分类型id")
|
|
|
+ private Long punishmentTypeId;
|
|
|
}
|