blob: d9432957b64ad9cd36c9bed8999e72202e2d5e80 [file] [log] [blame]
rhje18c3f72025-06-08 00:27:01 +08001package entity;
2
3import javax.persistence.Column;
4import javax.persistence.Entity;
5import javax.persistence.Id;
6import javax.persistence.Table;
7
8import com.querydsl.core.annotations.QueryEntity;
9
10@QueryEntity
11@Entity(name = "Admin")
12@Table(name = "admin")
13public class Admin {
14
15 @Id
16 @Column(name = "user_id", length = 36, nullable = false)
17 public String userId;
18
19 public Admin() {
20 }
21
22 public Admin(String userId) {
23 this.userId = userId;
24 }
25}