add 付费资源
This commit is contained in:
@@ -79,6 +79,17 @@ public class AppBlogArticle extends BaseEntity
|
||||
|
||||
private List<String> picList;
|
||||
|
||||
/** 关联的资源对象 */
|
||||
private AppResource appResource;
|
||||
|
||||
public AppResource getAppResource() {
|
||||
return appResource;
|
||||
}
|
||||
|
||||
public void setAppResource(AppResource appResource) {
|
||||
this.appResource = appResource;
|
||||
}
|
||||
|
||||
public String getOrderType() {
|
||||
return orderType;
|
||||
}
|
||||
|
||||
@@ -32,6 +32,10 @@ public class AppPayOrder extends BaseEntity
|
||||
@Excel(name = "用户ID")
|
||||
private Long userId;
|
||||
|
||||
/** 资源ID */
|
||||
@Excel(name = "资源ID")
|
||||
private Long resourceId;
|
||||
|
||||
/** openid */
|
||||
@Excel(name = "openid")
|
||||
private String openId;
|
||||
@@ -135,6 +139,14 @@ public class AppPayOrder extends BaseEntity
|
||||
return payTime;
|
||||
}
|
||||
|
||||
public Long getResourceId() {
|
||||
return resourceId;
|
||||
}
|
||||
|
||||
public void setResourceId(Long resourceId) {
|
||||
this.resourceId = resourceId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
@@ -142,6 +154,7 @@ public class AppPayOrder extends BaseEntity
|
||||
.append("orderNo", getOrderNo())
|
||||
.append("tradeNo", getTradeNo())
|
||||
.append("userId", getUserId())
|
||||
.append("resourceId", getResourceId())
|
||||
.append("openId", getOpenId())
|
||||
.append("amount", getAmount())
|
||||
.append("points", getPoints())
|
||||
|
||||
Reference in New Issue
Block a user