标准化租户表
This commit is contained in:
parent
8b25a92b77
commit
ffa9189583
@ -5,29 +5,17 @@ import jakarta.persistence.*;
|
|||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
@Table(name="tenant")
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@Table(name="tenant")
|
||||||
public class Tenant {
|
public class Tenant {
|
||||||
@Id
|
@Id
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
private String contact;
|
private String contact;
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
private String phone;
|
private String phone;
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
private String name;
|
private String name;
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
private String manager;
|
private String manager;
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
private String symbol;
|
private String symbol;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user