123456789101112131415161718192021222324252627 |
- package com.gxzc.zen.common.dto;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import org.springframework.format.annotation.DateTimeFormat;
- import java.util.Date;
- /**
- * @author NorthLan
- * @date 2018/2/1
- * @url https://noahlan.com
- */
- public class RD {
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private Date time;
- // @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- public Date getTime() {
- return time;
- }
- public void setTime(Date time) {
- this.time = time;
- }
- }
|