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

commit

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