|
|
|
@ -8,6 +8,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data; |
|
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
|
import org.springblade.core.mp.base.BaseEntity; |
|
|
|
|
import org.springblade.core.tool.utils.DateUtil; |
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.Size; |
|
|
|
|
import java.util.Date; |
|
|
|
@ -29,7 +30,7 @@ public class CarAnnualInspectionEntity extends BaseEntity {
|
|
|
|
|
@ApiModelProperty("编码") |
|
|
|
|
private String code; |
|
|
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd") |
|
|
|
|
@JsonFormat(pattern = DateUtil.PATTERN_DATETIME) |
|
|
|
|
@ApiModelProperty("年检时间") |
|
|
|
|
private Date annualInspectionTime; |
|
|
|
|
|
|
|
|
@ -42,5 +43,6 @@ public class CarAnnualInspectionEntity extends BaseEntity {
|
|
|
|
|
private String imgPath; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty("下次年检时间") |
|
|
|
|
@JsonFormat(pattern = DateUtil.PATTERN_DATETIME) |
|
|
|
|
private Date nextAnnualInspectionTime; |
|
|
|
|
} |
|
|
|
|