敏捷工具
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
528 B

2 years ago
  1. package com.whn.hellospring.model;
  2. import lombok.*;
  3. import javax.persistence.*;
  4. import java.io.Serializable;
  5. import java.util.List;
  6. @Entity
  7. @Table(name = "T_ORDER")
  8. @Data
  9. @ToString(callSuper = true)
  10. @NoArgsConstructor
  11. @AllArgsConstructor
  12. @Builder
  13. public class CoffeeOrderDO extends BaseEntity implements Serializable {
  14. private String customer;
  15. private String customer_id;
  16. // //关系映射表
  17. // @ManyToMany
  18. // private List<CoffeeDO> items;
  19. @Column(nullable = false)
  20. private OrderState state;
  21. }