gateway-api company-service MultiCompanyRequest Начало.
This commit is contained in:
parent
333d935a26
commit
5c2c600d46
2 changed files with 82 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ public interface Consts {
|
|||
String DESTINATION_PLANNER_UPDATE = "planner-update";
|
||||
String DESTINATION_PLANNER_DELETE = "planner-delete";
|
||||
|
||||
String DESTINATION_COMPANY_MULTIREQUEST = "company-multirequest-new";
|
||||
String DESTINATION_COMPANY_NEW = "company-new";
|
||||
String DESTINATION_COMPANY_DELETE = "company-delete";
|
||||
String DESTINATION_COMPANY_UPDATE = "company-update";
|
||||
|
|
|
|||
|
|
@ -0,0 +1,81 @@
|
|||
package ru.spcex.clearing.platform.messaging.domain.cud.company;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import ru.spcex.clearing.platform.messaging.domain.cud.account.ClientCodeNewRequest;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class MultiCompanyRequest {
|
||||
@JsonProperty
|
||||
String uuid; // для лога
|
||||
|
||||
@JsonProperty
|
||||
CompanyNewRequest company;
|
||||
@JsonProperty
|
||||
CompanyInfoUpdateRequest companyInfo;
|
||||
@JsonProperty
|
||||
List<ProfileDocumentNewRequest> profileDocuments = new ArrayList<>();
|
||||
@JsonProperty
|
||||
List<CompanySymbolNewRequest> companySymbols = new ArrayList<>();
|
||||
@JsonProperty
|
||||
List<ContactNewRequest> contacts = new ArrayList<>();
|
||||
@JsonProperty
|
||||
List<ClientCodeNewRequest> clientCodes = new ArrayList<>();
|
||||
|
||||
public String getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setUuid(String uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
public CompanyNewRequest getCompany() {
|
||||
return company;
|
||||
}
|
||||
|
||||
public void setCompany(CompanyNewRequest company) {
|
||||
this.company = company;
|
||||
}
|
||||
|
||||
public CompanyInfoUpdateRequest getCompanyInfo() {
|
||||
return companyInfo;
|
||||
}
|
||||
|
||||
public void setCompanyInfo(CompanyInfoUpdateRequest companyInfo) {
|
||||
this.companyInfo = companyInfo;
|
||||
}
|
||||
|
||||
public List<ProfileDocumentNewRequest> getProfileDocuments() {
|
||||
return profileDocuments;
|
||||
}
|
||||
|
||||
public void setProfileDocuments(List<ProfileDocumentNewRequest> profileDocuments) {
|
||||
this.profileDocuments = profileDocuments;
|
||||
}
|
||||
|
||||
public List<CompanySymbolNewRequest> getCompanySymbols() {
|
||||
return companySymbols;
|
||||
}
|
||||
|
||||
public void setCompanySymbols(List<CompanySymbolNewRequest> companySymbols) {
|
||||
this.companySymbols = companySymbols;
|
||||
}
|
||||
|
||||
public List<ContactNewRequest> getContacts() {
|
||||
return contacts;
|
||||
}
|
||||
|
||||
public void setContacts(List<ContactNewRequest> contacts) {
|
||||
this.contacts = contacts;
|
||||
}
|
||||
|
||||
public List<ClientCodeNewRequest> getClientCodes() {
|
||||
return clientCodes;
|
||||
}
|
||||
|
||||
public void setClientCodes(List<ClientCodeNewRequest> clientCodes) {
|
||||
this.clientCodes = clientCodes;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue