1
This commit is contained in:
36
src/main/java/cn/van/business/model/cj/XbGroup.java
Normal file
36
src/main/java/cn/van/business/model/cj/XbGroup.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package cn.van.business.model.cj;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
import jakarta.validation.constraints.Size;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "xb_group")
|
||||
public class XbGroup {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "id", nullable = false)
|
||||
private Integer id;
|
||||
|
||||
@Size(max = 255)
|
||||
@Column(name = "name", length = 255)
|
||||
private String name;
|
||||
|
||||
@Size(max = 100)
|
||||
@Column(name = "wxid", length = 100)
|
||||
private String wxid;
|
||||
|
||||
@Column(name = "is_active")
|
||||
private Boolean active;
|
||||
|
||||
@Column(name = "create_date")
|
||||
private LocalDateTime createDate;
|
||||
|
||||
@Column(name = "update_date")
|
||||
private LocalDateTime updateDate;
|
||||
}
|
||||
Reference in New Issue
Block a user