add 信发系统 营帐通
This commit is contained in:
@@ -136,6 +136,18 @@ public class BuildInformationDO {
|
||||
@Column(name = "settler_bank_name")
|
||||
private String settlerBankName;
|
||||
|
||||
//非法人时候需要:授权书
|
||||
@Column(name = "authorization_url")
|
||||
private String authorizationUrl;
|
||||
|
||||
//非法人时候需要:商户关系证明
|
||||
@Column(name = "relationship_prove")
|
||||
private String relationshipProve;
|
||||
|
||||
//公司结算需要:开户许可证
|
||||
@Column(name = "account_opening_permit")
|
||||
private String accountOpeningPermit;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
||||
@@ -28,7 +28,7 @@ public class PosAndOrderInfoDO {
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 1-pos 2-订货系统
|
||||
* 1-pos 2-订货系统,3-信发系统 4-营帐通
|
||||
*/
|
||||
@Column(name = "type")
|
||||
private Integer type;
|
||||
@@ -40,7 +40,7 @@ public class PosAndOrderInfoDO {
|
||||
private String account;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*密码 type为 3 时候,存授权码
|
||||
*/
|
||||
@Column(name = "password")
|
||||
private String password;
|
||||
|
||||
@@ -109,6 +109,18 @@ public class BuildInformationRequest {
|
||||
@ApiModelProperty("结算开户银行支行")
|
||||
private String settlerBankName;
|
||||
|
||||
@ApiModelProperty("非法人时候需要:授权书")
|
||||
@Length(max =1024, message = "授权书 长度不能超过1024")
|
||||
private String authorizationUrl;
|
||||
|
||||
@Length(max =1024, message = "商户关系证明 长度不能超过1024")
|
||||
@ApiModelProperty("非法人时候需要:商户关系证明")
|
||||
private String relationshipProve;
|
||||
|
||||
@Length(max =1024, message = "开户许可证 长度不能超过1024")
|
||||
@ApiModelProperty("公司结算需要:开户许可证")
|
||||
private String accountOpeningPermit;
|
||||
|
||||
public BuildInformationDO toDO(){
|
||||
BuildInformationDO buildInformationDO = new BuildInformationDO();
|
||||
buildInformationDO.setShopId(this.shopId);
|
||||
@@ -130,6 +142,9 @@ public class BuildInformationRequest {
|
||||
buildInformationDO.setSettlerBankNumber(this.settlerBankNumber);
|
||||
buildInformationDO.setSettlerBankMobile(this.settlerBankMobile);
|
||||
buildInformationDO.setSettlerBankName(this.settlerBankName);
|
||||
buildInformationDO.setAuthorizationUrl(this.authorizationUrl);
|
||||
buildInformationDO.setRelationshipProve(this.relationshipProve);
|
||||
buildInformationDO.setAccountOpeningPermit(this.accountOpeningPermit);
|
||||
return buildInformationDO;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ public class PostAndOrderRequest {
|
||||
|
||||
@NotNull
|
||||
private Long shopId;
|
||||
@ApiModelProperty(value = "1-pos 2-订货系统",hidden = true)
|
||||
@ApiModelProperty(value = "1-pos 2-订货系统,3-信发系统 4-营帐通",hidden = true)
|
||||
private Integer type;
|
||||
@NotBlank
|
||||
@ApiModelProperty("账号")
|
||||
|
||||
@@ -92,5 +92,14 @@ public class BuildInformationResponse {
|
||||
@ApiModelProperty("结算开户银行支行")
|
||||
private String settlerBankName;
|
||||
|
||||
@ApiModelProperty("非法人时候需要:授权书")
|
||||
|
||||
private String authorizationUrl;
|
||||
|
||||
@ApiModelProperty("非法人时候需要:商户关系证明")
|
||||
private String relationshipProve;
|
||||
|
||||
@ApiModelProperty("公司结算需要:开户许可证")
|
||||
private String accountOpeningPermit;
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ public class PosAndOrderResponse {
|
||||
|
||||
private Long shopId;
|
||||
|
||||
@ApiModelProperty("1-pos 2-订货系统',")
|
||||
@ApiModelProperty("1-pos 2-订货系统,3-信发系统 4-营帐通")
|
||||
private Integer type;
|
||||
|
||||
@ApiModelProperty("账号")
|
||||
|
||||
Reference in New Issue
Block a user