Renamed AssetAction to MemberAssetAction and ShareAction to
MemberShareAction.
This commit is contained in:
parent
d8f2345d6f
commit
9f8ccd461b
@ -36,7 +36,7 @@ public class MemberAsset implements Serializable {
|
||||
private Date date;
|
||||
|
||||
@Column(name="action", nullable = false)
|
||||
private ShareAction action;
|
||||
private MemberShareAction action;
|
||||
|
||||
@Column(name="amount", nullable = false)
|
||||
private BigDecimal amount;
|
||||
@ -76,11 +76,11 @@ public class MemberAsset implements Serializable {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
public ShareAction getAction() {
|
||||
public MemberShareAction getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
public void setAction(ShareAction action) {
|
||||
public void setAction(MemberShareAction action) {
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package de.hsadmin.bo.customer;
|
||||
|
||||
public enum AssetAction {
|
||||
public enum MemberAssetAction {
|
||||
PAYMENT,
|
||||
PAYBACK,
|
||||
ADOPTION,
|
@ -35,7 +35,7 @@ public class MemberShare implements Serializable {
|
||||
private Date date;
|
||||
|
||||
@Column(name="action", nullable = false)
|
||||
private ShareAction action;
|
||||
private MemberShareAction action;
|
||||
|
||||
@Column(name="quantity", nullable = false)
|
||||
private int quantity;
|
||||
@ -67,11 +67,11 @@ public class MemberShare implements Serializable {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
public ShareAction getAction() {
|
||||
public MemberShareAction getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
public void setAction(ShareAction action) {
|
||||
public void setAction(MemberShareAction action) {
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package de.hsadmin.bo.customer;
|
||||
|
||||
public enum ShareAction {
|
||||
public enum MemberShareAction {
|
||||
|
||||
SUBSCRIPTION,
|
||||
UNSUBSCRIPTION
|
Loading…
Reference in New Issue
Block a user