Created
July 5, 2016 13:36
-
-
Save cosbor11/2ae9778387e3e23a1fe30554d6798b58 to your computer and use it in GitHub Desktop.
Payment entity before model updates
This file contains hidden or 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 Payment extends ManagedEntity implements IManagedEntity | |
{ | |
@Attribute | |
@Identifier | |
protected long paymentId; | |
@Relationship(type = RelationshipType.ONE_TO_ONE, | |
inverse = "payments", | |
inverseClass = Invoice.class) | |
protected Invoice invoice; | |
@Index | |
@Attribute | |
protected double amount; | |
@Attribute | |
protected String notes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment