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

package com.whn.hellospring.model;
import lombok.*;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
@Entity
@Table(name = "T_ORDER")
@Data
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CoffeeOrderDO extends BaseEntity implements Serializable {
private String customer;
private String customer_id;
// //关系映射表
// @ManyToMany
// private List<CoffeeDO> items;
@Column(nullable = false)
private OrderState state;
}