Pu Zhibing
2024-11-05 0132ff3faf4d27f6b99af37f8ea8cb9520b1622f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.ruoyi.integration.api.model;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author zhibing.pu
 * @Date 2024/8/26 19:05
 */
@Data
public class BaseModel {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date last_time = new Date();
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time = new Date();
}