Created
May 12, 2020 04:51
-
-
Save anny0739/29fccd28a90cd764a792f8d861955dba to your computer and use it in GitHub Desktop.
Assertion.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
public class Goods { | |
private int goodsId; | |
} | |
@Entity | |
public class GoodsDetail { | |
private Assertion<Goods> goodsId; | |
} | |
public class Assertion<T> { | |
private final int id; | |
public Assertion(int id) { | |
this.id = id; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment