id 自增 取消
This commit is contained in:
@@ -17,7 +17,7 @@ public class Coupon implements Serializable {
|
||||
/**
|
||||
* 优惠券d
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long couponId;
|
||||
/**
|
||||
|
||||
@@ -17,7 +17,7 @@ public class CouponUser implements Serializable {
|
||||
/**
|
||||
* 用户优惠券id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long couponUserId;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user