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;
|
private Date date;
|
||||||
|
|
||||||
@Column(name="action", nullable = false)
|
@Column(name="action", nullable = false)
|
||||||
private ShareAction action;
|
private MemberShareAction action;
|
||||||
|
|
||||||
@Column(name="amount", nullable = false)
|
@Column(name="amount", nullable = false)
|
||||||
private BigDecimal amount;
|
private BigDecimal amount;
|
||||||
@ -76,11 +76,11 @@ public class MemberAsset implements Serializable {
|
|||||||
this.date = date;
|
this.date = date;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShareAction getAction() {
|
public MemberShareAction getAction() {
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAction(ShareAction action) {
|
public void setAction(MemberShareAction action) {
|
||||||
this.action = action;
|
this.action = action;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package de.hsadmin.bo.customer;
|
package de.hsadmin.bo.customer;
|
||||||
|
|
||||||
public enum AssetAction {
|
public enum MemberAssetAction {
|
||||||
PAYMENT,
|
PAYMENT,
|
||||||
PAYBACK,
|
PAYBACK,
|
||||||
ADOPTION,
|
ADOPTION,
|
@ -35,7 +35,7 @@ public class MemberShare implements Serializable {
|
|||||||
private Date date;
|
private Date date;
|
||||||
|
|
||||||
@Column(name="action", nullable = false)
|
@Column(name="action", nullable = false)
|
||||||
private ShareAction action;
|
private MemberShareAction action;
|
||||||
|
|
||||||
@Column(name="quantity", nullable = false)
|
@Column(name="quantity", nullable = false)
|
||||||
private int quantity;
|
private int quantity;
|
||||||
@ -67,11 +67,11 @@ public class MemberShare implements Serializable {
|
|||||||
this.date = date;
|
this.date = date;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShareAction getAction() {
|
public MemberShareAction getAction() {
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAction(ShareAction action) {
|
public void setAction(MemberShareAction action) {
|
||||||
this.action = action;
|
this.action = action;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package de.hsadmin.bo.customer;
|
package de.hsadmin.bo.customer;
|
||||||
|
|
||||||
public enum ShareAction {
|
public enum MemberShareAction {
|
||||||
|
|
||||||
SUBSCRIPTION,
|
SUBSCRIPTION,
|
||||||
UNSUBSCRIPTION
|
UNSUBSCRIPTION
|
Loading…
Reference in New Issue
Block a user