敏捷工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
606 B

2 years ago
  1. package com.whn.hellospring.model;
  2. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  3. import lombok.*;
  4. import javax.persistence.Entity;
  5. import javax.persistence.Id;
  6. import javax.persistence.Table;
  7. import java.io.Serializable;
  8. @Entity
  9. @Table(name = "T_CUSTOMER")
  10. @Builder
  11. @Data
  12. @ToString(callSuper = true)
  13. @NoArgsConstructor
  14. @AllArgsConstructor
  15. @JsonIgnoreProperties(value = {"hibernateLazyInitializer","handler"})
  16. public class CustomerDO extends BaseEntity implements Serializable {
  17. private String name;
  18. private int age;
  19. private String phone;
  20. private String pass_word;
  21. }