Skip to content
Snippets Groups Projects

Resolve "Cart controller integration test"

Merged Jerry Xu requested to merge 33-cart-controller-integration-test into master
2 files
+ 188
16
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -6,6 +6,9 @@ import com.example.freshonline.model.StockedGoods;
import com.example.freshonline.model.User;
import lombok.NoArgsConstructor;
@NoArgsConstructor
public class Cart {
@@ -63,6 +66,13 @@ public class Cart {
*/
private BigDecimal count;
public Cart(Integer userId, Integer goodsId, BigDecimal count) {
this.userId = userId;
this.goodsId = goodsId;
this.count = count;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cart.user_id
Loading