10 changed files with 57 additions and 40 deletions
@ -1,20 +0,0 @@ |
|||
package awesome.group.game.service.bo; |
|||
|
|||
import awesome.group.game.dao.bean.MatrixApp; |
|||
|
|||
public class MatrixAppBo { |
|||
public String name; |
|||
public String code; |
|||
public String img; |
|||
public String url; |
|||
|
|||
public MatrixAppBo() { |
|||
} |
|||
|
|||
public MatrixAppBo(MatrixApp app) { |
|||
this.name = app.getName(); |
|||
this.code = app.getCode(); |
|||
this.img = app.getImg(); |
|||
this.url = app.getUrl(); |
|||
} |
|||
} |
@ -0,0 +1,33 @@ |
|||
package awesome.group.game.service.bo.matrix; |
|||
|
|||
import awesome.group.game.dao.bean.MatrixApp; |
|||
import awesome.group.game.service.bo.citrus.AppCashConfig; |
|||
import org.springframework.util.StringUtils; |
|||
|
|||
public class MatrixAppBo { |
|||
public String name; |
|||
public String code; |
|||
public String img; |
|||
public String url; |
|||
public String channel; |
|||
public Integer hide; |
|||
public String secret; |
|||
public boolean enableCash; |
|||
public AppCashConfig config; |
|||
|
|||
|
|||
public MatrixAppBo() { |
|||
} |
|||
|
|||
public MatrixAppBo(MatrixApp app) { |
|||
this.name = app.getName(); |
|||
this.code = app.getCode(); |
|||
this.img = app.getImg(); |
|||
this.url = app.getUrl(); |
|||
this.channel = app.getChannel(); |
|||
this.hide = app.getHide(); |
|||
this.secret = app.getSecret(); |
|||
this.enableCash = StringUtils.hasText(app.getAliPay()); |
|||
this.config = new AppCashConfig(app); |
|||
} |
|||
} |
Loading…
Reference in new issue