NsSig3.java
983 Bytes
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
package cn.fw.freya.model.data;
import lombok.*;
import javax.persistence.*;
import java.util.Date;
/**
* @author unknown
* @date 2021-11-12 10:36
* @description 签名
*/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Entity
@Table(name = "ns_sig3", uniqueConstraints = @UniqueConstraint(columnNames = {"accountNo", "type", "sigType"}))
public class NsSig3 {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
/**
* 账户号
*/
private String accountNo;
/**
* 账户类型 (1:快手, 2:抖音, 3:懂车帝, 4:哔哩哔哩)
*/
private Integer type;
/**
* 签名类型(1:粉丝, 2:视频, 3:直播)
*/
private Integer sigType;
/**
* 签名值
*/
@Column(length = 128)
private String sigMsg;
/**
* 创建日期
*/
@Column(columnDefinition = "date")
@Temporal(TemporalType.DATE)
private Date createDate;
}