-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathArticle.java
51 lines (41 loc) · 1 KB
/
Article.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package com.example.sample.domain.entity;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;
import java.sql.Time;
import java.math.BigDecimal;
/**
* Article article
* generated by ddl-to-object <https://github.com/ycrao/ddl-to-object>
*
* @author unknown
*/
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
@Data
@SuppressWarnings("unused")
public class Article implements Serializable {
private static final long serialVersionUID = 8117147573751819949L;
/**
* id id
*/
private Long id;
/**
* userId 用户id
*/
private Long userId;
/**
* content 正文
*/
private String content;
/**
* createTime 创建时间
*/
private Timestamp createTime;
/**
* updateTime 更新时间
*/
private Timestamp updateTime;
}