提交 bca37b2b authored 作者: Whispa's avatar Whispa

commit

上级 25cc4f5a
...@@ -18,9 +18,8 @@ import java.util.Date; ...@@ -18,9 +18,8 @@ import java.util.Date;
@Entity @Entity
@Data @Data
public class TbCfCoupon { public class TbCfCoupon {
@Id
private String toitableId; private String toitableId;
@Id
private String couponId; private String couponId;
private String couponCategoryId; private String couponCategoryId;
......
...@@ -28,7 +28,7 @@ public class TbCfToicoupon { ...@@ -28,7 +28,7 @@ public class TbCfToicoupon {
/** /**
* 优惠券id * 优惠券id
*/ */
@ManyToOne @ManyToOne()
@JoinColumn(columnDefinition = "coupon_id") @JoinColumn(columnDefinition = "coupon_id")
private TbCfCoupon coupon; private TbCfCoupon coupon;
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论