WangHan
2024-09-12 d5855a4926926698b740bc6c7ba489de47adb68b
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
package tech.powerjob.server.persistence.remote.model;
 
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.GenericGenerator;
 
import javax.persistence.*;
import java.util.Date;
 
/**
 * 杂项
 * KKV 表存一些配置数据
 *
 * @author tjq
 * @since 2024/2/15
 */
@Data
@Entity
@NoArgsConstructor
@Table(uniqueConstraints = {@UniqueConstraint(name = "uidx01_sundry", columnNames = {"pkey", "skey"})})
public class SundryDO {
 
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "native")
    @GenericGenerator(name = "native", strategy = "native")
    private Long id;
 
    /**
     * PKEY
     */
    private String pkey;
    /**
     * SKEY
     */
    private String skey;
    /**
     * 内容
     */
    private String content;
 
    /**
     * 其他参数
     */
    private String extra;
 
    private Date gmtCreate;
 
    private Date gmtModified;
}