forked from loafle/openapi-generator-original
		
	rebuilt
This commit is contained in:
		
							parent
							
								
									e7675e48ed
								
							
						
					
					
						commit
						943efce971
					
				@ -148,31 +148,31 @@ SamiCategory::asJsonObject() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pIdKey = new JsonString(L"id");
 | 
					    JsonString *pIdKey = new JsonString(L"id");
 | 
				
			||||||
    pJsonObject->Add(pIdKey, toJson(getpId(), "Long", ""));
 | 
					    pJsonObject->Add(pIdKey, toJson(getPId(), "Long", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pNameKey = new JsonString(L"name");
 | 
					    JsonString *pNameKey = new JsonString(L"name");
 | 
				
			||||||
    pJsonObject->Add(pNameKey, toJson(getpName(), "String", ""));
 | 
					    pJsonObject->Add(pNameKey, toJson(getPName(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    return pJsonObject;
 | 
					    return pJsonObject;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Long*
 | 
					Long*
 | 
				
			||||||
SamiCategory::getpId() {
 | 
					SamiCategory::getPId() {
 | 
				
			||||||
    return pId;
 | 
					    return pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiCategory::setpId(Long* pId) {
 | 
					SamiCategory::setPId(Long* pId) {
 | 
				
			||||||
    this->pId = pId;
 | 
					    this->pId = pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiCategory::getpName() {
 | 
					SamiCategory::getPName() {
 | 
				
			||||||
    return pName;
 | 
					    return pName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiCategory::setpName(String* pName) {
 | 
					SamiCategory::setPName(String* pName) {
 | 
				
			||||||
    this->pName = pName;
 | 
					    this->pName = pName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -42,11 +42,11 @@ public:
 | 
				
			|||||||
    SamiCategory* fromJson(String* obj);
 | 
					    SamiCategory* fromJson(String* obj);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Long* getpId();
 | 
					    Long* getPId();
 | 
				
			||||||
    void setpId(Long* pId);
 | 
					    void setPId(Long* pId);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpName();
 | 
					    String* getPName();
 | 
				
			||||||
    void setpName(String* pName);
 | 
					    void setPName(String* pName);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
private:
 | 
					private:
 | 
				
			||||||
 | 
				
			|||||||
@ -208,83 +208,83 @@ SamiOrder::asJsonObject() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pIdKey = new JsonString(L"id");
 | 
					    JsonString *pIdKey = new JsonString(L"id");
 | 
				
			||||||
    pJsonObject->Add(pIdKey, toJson(getpId(), "Long", ""));
 | 
					    pJsonObject->Add(pIdKey, toJson(getPId(), "Long", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pPetIdKey = new JsonString(L"petId");
 | 
					    JsonString *pPetIdKey = new JsonString(L"petId");
 | 
				
			||||||
    pJsonObject->Add(pPetIdKey, toJson(getpPetId(), "Long", ""));
 | 
					    pJsonObject->Add(pPetIdKey, toJson(getPPetId(), "Long", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pQuantityKey = new JsonString(L"quantity");
 | 
					    JsonString *pQuantityKey = new JsonString(L"quantity");
 | 
				
			||||||
    pJsonObject->Add(pQuantityKey, toJson(getpQuantity(), "Integer", ""));
 | 
					    pJsonObject->Add(pQuantityKey, toJson(getPQuantity(), "Integer", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pShipDateKey = new JsonString(L"shipDate");
 | 
					    JsonString *pShipDateKey = new JsonString(L"shipDate");
 | 
				
			||||||
    pJsonObject->Add(pShipDateKey, toJson(getpShipDate(), "DateTime", ""));
 | 
					    pJsonObject->Add(pShipDateKey, toJson(getPShipDate(), "DateTime", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pStatusKey = new JsonString(L"status");
 | 
					    JsonString *pStatusKey = new JsonString(L"status");
 | 
				
			||||||
    pJsonObject->Add(pStatusKey, toJson(getpStatus(), "String", ""));
 | 
					    pJsonObject->Add(pStatusKey, toJson(getPStatus(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pCompleteKey = new JsonString(L"complete");
 | 
					    JsonString *pCompleteKey = new JsonString(L"complete");
 | 
				
			||||||
    pJsonObject->Add(pCompleteKey, toJson(getpComplete(), "Boolean", ""));
 | 
					    pJsonObject->Add(pCompleteKey, toJson(getPComplete(), "Boolean", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    return pJsonObject;
 | 
					    return pJsonObject;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Long*
 | 
					Long*
 | 
				
			||||||
SamiOrder::getpId() {
 | 
					SamiOrder::getPId() {
 | 
				
			||||||
    return pId;
 | 
					    return pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiOrder::setpId(Long* pId) {
 | 
					SamiOrder::setPId(Long* pId) {
 | 
				
			||||||
    this->pId = pId;
 | 
					    this->pId = pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Long*
 | 
					Long*
 | 
				
			||||||
SamiOrder::getpPetId() {
 | 
					SamiOrder::getPPetId() {
 | 
				
			||||||
    return pPetId;
 | 
					    return pPetId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiOrder::setpPetId(Long* pPetId) {
 | 
					SamiOrder::setPPetId(Long* pPetId) {
 | 
				
			||||||
    this->pPetId = pPetId;
 | 
					    this->pPetId = pPetId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Integer*
 | 
					Integer*
 | 
				
			||||||
SamiOrder::getpQuantity() {
 | 
					SamiOrder::getPQuantity() {
 | 
				
			||||||
    return pQuantity;
 | 
					    return pQuantity;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiOrder::setpQuantity(Integer* pQuantity) {
 | 
					SamiOrder::setPQuantity(Integer* pQuantity) {
 | 
				
			||||||
    this->pQuantity = pQuantity;
 | 
					    this->pQuantity = pQuantity;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DateTime*
 | 
					DateTime*
 | 
				
			||||||
SamiOrder::getpShipDate() {
 | 
					SamiOrder::getPShipDate() {
 | 
				
			||||||
    return pShipDate;
 | 
					    return pShipDate;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiOrder::setpShipDate(DateTime* pShipDate) {
 | 
					SamiOrder::setPShipDate(DateTime* pShipDate) {
 | 
				
			||||||
    this->pShipDate = pShipDate;
 | 
					    this->pShipDate = pShipDate;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiOrder::getpStatus() {
 | 
					SamiOrder::getPStatus() {
 | 
				
			||||||
    return pStatus;
 | 
					    return pStatus;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiOrder::setpStatus(String* pStatus) {
 | 
					SamiOrder::setPStatus(String* pStatus) {
 | 
				
			||||||
    this->pStatus = pStatus;
 | 
					    this->pStatus = pStatus;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Boolean*
 | 
					Boolean*
 | 
				
			||||||
SamiOrder::getpComplete() {
 | 
					SamiOrder::getPComplete() {
 | 
				
			||||||
    return pComplete;
 | 
					    return pComplete;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiOrder::setpComplete(Boolean* pComplete) {
 | 
					SamiOrder::setPComplete(Boolean* pComplete) {
 | 
				
			||||||
    this->pComplete = pComplete;
 | 
					    this->pComplete = pComplete;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -45,23 +45,23 @@ public:
 | 
				
			|||||||
    SamiOrder* fromJson(String* obj);
 | 
					    SamiOrder* fromJson(String* obj);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Long* getpId();
 | 
					    Long* getPId();
 | 
				
			||||||
    void setpId(Long* pId);
 | 
					    void setPId(Long* pId);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Long* getpPetId();
 | 
					    Long* getPPetId();
 | 
				
			||||||
    void setpPetId(Long* pPetId);
 | 
					    void setPPetId(Long* pPetId);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Integer* getpQuantity();
 | 
					    Integer* getPQuantity();
 | 
				
			||||||
    void setpQuantity(Integer* pQuantity);
 | 
					    void setPQuantity(Integer* pQuantity);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    DateTime* getpShipDate();
 | 
					    DateTime* getPShipDate();
 | 
				
			||||||
    void setpShipDate(DateTime* pShipDate);
 | 
					    void setPShipDate(DateTime* pShipDate);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpStatus();
 | 
					    String* getPStatus();
 | 
				
			||||||
    void setpStatus(String* pStatus);
 | 
					    void setPStatus(String* pStatus);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Boolean* getpComplete();
 | 
					    Boolean* getPComplete();
 | 
				
			||||||
    void setpComplete(Boolean* pComplete);
 | 
					    void setPComplete(Boolean* pComplete);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
private:
 | 
					private:
 | 
				
			||||||
 | 
				
			|||||||
@ -208,83 +208,83 @@ SamiPet::asJsonObject() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pIdKey = new JsonString(L"id");
 | 
					    JsonString *pIdKey = new JsonString(L"id");
 | 
				
			||||||
    pJsonObject->Add(pIdKey, toJson(getpId(), "Long", ""));
 | 
					    pJsonObject->Add(pIdKey, toJson(getPId(), "Long", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pCategoryKey = new JsonString(L"category");
 | 
					    JsonString *pCategoryKey = new JsonString(L"category");
 | 
				
			||||||
    pJsonObject->Add(pCategoryKey, toJson(getpCategory(), "SamiCategory", ""));
 | 
					    pJsonObject->Add(pCategoryKey, toJson(getPCategory(), "SamiCategory", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pNameKey = new JsonString(L"name");
 | 
					    JsonString *pNameKey = new JsonString(L"name");
 | 
				
			||||||
    pJsonObject->Add(pNameKey, toJson(getpName(), "String", ""));
 | 
					    pJsonObject->Add(pNameKey, toJson(getPName(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pPhotoUrlsKey = new JsonString(L"photoUrls");
 | 
					    JsonString *pPhotoUrlsKey = new JsonString(L"photoUrls");
 | 
				
			||||||
    pJsonObject->Add(pPhotoUrlsKey, toJson(getpPhotoUrls(), "String", "array"));
 | 
					    pJsonObject->Add(pPhotoUrlsKey, toJson(getPPhotoUrls(), "String", "array"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pTagsKey = new JsonString(L"tags");
 | 
					    JsonString *pTagsKey = new JsonString(L"tags");
 | 
				
			||||||
    pJsonObject->Add(pTagsKey, toJson(getpTags(), "SamiTag", "array"));
 | 
					    pJsonObject->Add(pTagsKey, toJson(getPTags(), "SamiTag", "array"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pStatusKey = new JsonString(L"status");
 | 
					    JsonString *pStatusKey = new JsonString(L"status");
 | 
				
			||||||
    pJsonObject->Add(pStatusKey, toJson(getpStatus(), "String", ""));
 | 
					    pJsonObject->Add(pStatusKey, toJson(getPStatus(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    return pJsonObject;
 | 
					    return pJsonObject;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Long*
 | 
					Long*
 | 
				
			||||||
SamiPet::getpId() {
 | 
					SamiPet::getPId() {
 | 
				
			||||||
    return pId;
 | 
					    return pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiPet::setpId(Long* pId) {
 | 
					SamiPet::setPId(Long* pId) {
 | 
				
			||||||
    this->pId = pId;
 | 
					    this->pId = pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SamiCategory*
 | 
					SamiCategory*
 | 
				
			||||||
SamiPet::getpCategory() {
 | 
					SamiPet::getPCategory() {
 | 
				
			||||||
    return pCategory;
 | 
					    return pCategory;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiPet::setpCategory(SamiCategory* pCategory) {
 | 
					SamiPet::setPCategory(SamiCategory* pCategory) {
 | 
				
			||||||
    this->pCategory = pCategory;
 | 
					    this->pCategory = pCategory;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiPet::getpName() {
 | 
					SamiPet::getPName() {
 | 
				
			||||||
    return pName;
 | 
					    return pName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiPet::setpName(String* pName) {
 | 
					SamiPet::setPName(String* pName) {
 | 
				
			||||||
    this->pName = pName;
 | 
					    this->pName = pName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
IList*
 | 
					IList*
 | 
				
			||||||
SamiPet::getpPhotoUrls() {
 | 
					SamiPet::getPPhotoUrls() {
 | 
				
			||||||
    return pPhotoUrls;
 | 
					    return pPhotoUrls;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiPet::setpPhotoUrls(IList* pPhotoUrls) {
 | 
					SamiPet::setPPhotoUrls(IList* pPhotoUrls) {
 | 
				
			||||||
    this->pPhotoUrls = pPhotoUrls;
 | 
					    this->pPhotoUrls = pPhotoUrls;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
IList*
 | 
					IList*
 | 
				
			||||||
SamiPet::getpTags() {
 | 
					SamiPet::getPTags() {
 | 
				
			||||||
    return pTags;
 | 
					    return pTags;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiPet::setpTags(IList* pTags) {
 | 
					SamiPet::setPTags(IList* pTags) {
 | 
				
			||||||
    this->pTags = pTags;
 | 
					    this->pTags = pTags;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiPet::getpStatus() {
 | 
					SamiPet::getPStatus() {
 | 
				
			||||||
    return pStatus;
 | 
					    return pStatus;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiPet::setpStatus(String* pStatus) {
 | 
					SamiPet::setPStatus(String* pStatus) {
 | 
				
			||||||
    this->pStatus = pStatus;
 | 
					    this->pStatus = pStatus;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -45,23 +45,23 @@ public:
 | 
				
			|||||||
    SamiPet* fromJson(String* obj);
 | 
					    SamiPet* fromJson(String* obj);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Long* getpId();
 | 
					    Long* getPId();
 | 
				
			||||||
    void setpId(Long* pId);
 | 
					    void setPId(Long* pId);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    SamiCategory* getpCategory();
 | 
					    SamiCategory* getPCategory();
 | 
				
			||||||
    void setpCategory(SamiCategory* pCategory);
 | 
					    void setPCategory(SamiCategory* pCategory);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpName();
 | 
					    String* getPName();
 | 
				
			||||||
    void setpName(String* pName);
 | 
					    void setPName(String* pName);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    IList* getpPhotoUrls();
 | 
					    IList* getPPhotoUrls();
 | 
				
			||||||
    void setpPhotoUrls(IList* pPhotoUrls);
 | 
					    void setPPhotoUrls(IList* pPhotoUrls);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    IList* getpTags();
 | 
					    IList* getPTags();
 | 
				
			||||||
    void setpTags(IList* pTags);
 | 
					    void setPTags(IList* pTags);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpStatus();
 | 
					    String* getPStatus();
 | 
				
			||||||
    void setpStatus(String* pStatus);
 | 
					    void setPStatus(String* pStatus);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
private:
 | 
					private:
 | 
				
			||||||
 | 
				
			|||||||
@ -148,31 +148,31 @@ SamiTag::asJsonObject() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pIdKey = new JsonString(L"id");
 | 
					    JsonString *pIdKey = new JsonString(L"id");
 | 
				
			||||||
    pJsonObject->Add(pIdKey, toJson(getpId(), "Long", ""));
 | 
					    pJsonObject->Add(pIdKey, toJson(getPId(), "Long", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pNameKey = new JsonString(L"name");
 | 
					    JsonString *pNameKey = new JsonString(L"name");
 | 
				
			||||||
    pJsonObject->Add(pNameKey, toJson(getpName(), "String", ""));
 | 
					    pJsonObject->Add(pNameKey, toJson(getPName(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    return pJsonObject;
 | 
					    return pJsonObject;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Long*
 | 
					Long*
 | 
				
			||||||
SamiTag::getpId() {
 | 
					SamiTag::getPId() {
 | 
				
			||||||
    return pId;
 | 
					    return pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiTag::setpId(Long* pId) {
 | 
					SamiTag::setPId(Long* pId) {
 | 
				
			||||||
    this->pId = pId;
 | 
					    this->pId = pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiTag::getpName() {
 | 
					SamiTag::getPName() {
 | 
				
			||||||
    return pName;
 | 
					    return pName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiTag::setpName(String* pName) {
 | 
					SamiTag::setPName(String* pName) {
 | 
				
			||||||
    this->pName = pName;
 | 
					    this->pName = pName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -42,11 +42,11 @@ public:
 | 
				
			|||||||
    SamiTag* fromJson(String* obj);
 | 
					    SamiTag* fromJson(String* obj);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Long* getpId();
 | 
					    Long* getPId();
 | 
				
			||||||
    void setpId(Long* pId);
 | 
					    void setPId(Long* pId);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpName();
 | 
					    String* getPName();
 | 
				
			||||||
    void setpName(String* pName);
 | 
					    void setPName(String* pName);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
private:
 | 
					private:
 | 
				
			||||||
 | 
				
			|||||||
@ -238,109 +238,109 @@ SamiUser::asJsonObject() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pIdKey = new JsonString(L"id");
 | 
					    JsonString *pIdKey = new JsonString(L"id");
 | 
				
			||||||
    pJsonObject->Add(pIdKey, toJson(getpId(), "Long", ""));
 | 
					    pJsonObject->Add(pIdKey, toJson(getPId(), "Long", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pUsernameKey = new JsonString(L"username");
 | 
					    JsonString *pUsernameKey = new JsonString(L"username");
 | 
				
			||||||
    pJsonObject->Add(pUsernameKey, toJson(getpUsername(), "String", ""));
 | 
					    pJsonObject->Add(pUsernameKey, toJson(getPUsername(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pFirstNameKey = new JsonString(L"firstName");
 | 
					    JsonString *pFirstNameKey = new JsonString(L"firstName");
 | 
				
			||||||
    pJsonObject->Add(pFirstNameKey, toJson(getpFirstName(), "String", ""));
 | 
					    pJsonObject->Add(pFirstNameKey, toJson(getPFirstName(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pLastNameKey = new JsonString(L"lastName");
 | 
					    JsonString *pLastNameKey = new JsonString(L"lastName");
 | 
				
			||||||
    pJsonObject->Add(pLastNameKey, toJson(getpLastName(), "String", ""));
 | 
					    pJsonObject->Add(pLastNameKey, toJson(getPLastName(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pEmailKey = new JsonString(L"email");
 | 
					    JsonString *pEmailKey = new JsonString(L"email");
 | 
				
			||||||
    pJsonObject->Add(pEmailKey, toJson(getpEmail(), "String", ""));
 | 
					    pJsonObject->Add(pEmailKey, toJson(getPEmail(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pPasswordKey = new JsonString(L"password");
 | 
					    JsonString *pPasswordKey = new JsonString(L"password");
 | 
				
			||||||
    pJsonObject->Add(pPasswordKey, toJson(getpPassword(), "String", ""));
 | 
					    pJsonObject->Add(pPasswordKey, toJson(getPPassword(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pPhoneKey = new JsonString(L"phone");
 | 
					    JsonString *pPhoneKey = new JsonString(L"phone");
 | 
				
			||||||
    pJsonObject->Add(pPhoneKey, toJson(getpPhone(), "String", ""));
 | 
					    pJsonObject->Add(pPhoneKey, toJson(getPPhone(), "String", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    JsonString *pUserStatusKey = new JsonString(L"userStatus");
 | 
					    JsonString *pUserStatusKey = new JsonString(L"userStatus");
 | 
				
			||||||
    pJsonObject->Add(pUserStatusKey, toJson(getpUserStatus(), "Integer", ""));
 | 
					    pJsonObject->Add(pUserStatusKey, toJson(getPUserStatus(), "Integer", ""));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    return pJsonObject;
 | 
					    return pJsonObject;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Long*
 | 
					Long*
 | 
				
			||||||
SamiUser::getpId() {
 | 
					SamiUser::getPId() {
 | 
				
			||||||
    return pId;
 | 
					    return pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiUser::setpId(Long* pId) {
 | 
					SamiUser::setPId(Long* pId) {
 | 
				
			||||||
    this->pId = pId;
 | 
					    this->pId = pId;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiUser::getpUsername() {
 | 
					SamiUser::getPUsername() {
 | 
				
			||||||
    return pUsername;
 | 
					    return pUsername;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiUser::setpUsername(String* pUsername) {
 | 
					SamiUser::setPUsername(String* pUsername) {
 | 
				
			||||||
    this->pUsername = pUsername;
 | 
					    this->pUsername = pUsername;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiUser::getpFirstName() {
 | 
					SamiUser::getPFirstName() {
 | 
				
			||||||
    return pFirstName;
 | 
					    return pFirstName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiUser::setpFirstName(String* pFirstName) {
 | 
					SamiUser::setPFirstName(String* pFirstName) {
 | 
				
			||||||
    this->pFirstName = pFirstName;
 | 
					    this->pFirstName = pFirstName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiUser::getpLastName() {
 | 
					SamiUser::getPLastName() {
 | 
				
			||||||
    return pLastName;
 | 
					    return pLastName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiUser::setpLastName(String* pLastName) {
 | 
					SamiUser::setPLastName(String* pLastName) {
 | 
				
			||||||
    this->pLastName = pLastName;
 | 
					    this->pLastName = pLastName;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiUser::getpEmail() {
 | 
					SamiUser::getPEmail() {
 | 
				
			||||||
    return pEmail;
 | 
					    return pEmail;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiUser::setpEmail(String* pEmail) {
 | 
					SamiUser::setPEmail(String* pEmail) {
 | 
				
			||||||
    this->pEmail = pEmail;
 | 
					    this->pEmail = pEmail;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiUser::getpPassword() {
 | 
					SamiUser::getPPassword() {
 | 
				
			||||||
    return pPassword;
 | 
					    return pPassword;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiUser::setpPassword(String* pPassword) {
 | 
					SamiUser::setPPassword(String* pPassword) {
 | 
				
			||||||
    this->pPassword = pPassword;
 | 
					    this->pPassword = pPassword;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
String*
 | 
					String*
 | 
				
			||||||
SamiUser::getpPhone() {
 | 
					SamiUser::getPPhone() {
 | 
				
			||||||
    return pPhone;
 | 
					    return pPhone;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiUser::setpPhone(String* pPhone) {
 | 
					SamiUser::setPPhone(String* pPhone) {
 | 
				
			||||||
    this->pPhone = pPhone;
 | 
					    this->pPhone = pPhone;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Integer*
 | 
					Integer*
 | 
				
			||||||
SamiUser::getpUserStatus() {
 | 
					SamiUser::getPUserStatus() {
 | 
				
			||||||
    return pUserStatus;
 | 
					    return pUserStatus;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
SamiUser::setpUserStatus(Integer* pUserStatus) {
 | 
					SamiUser::setPUserStatus(Integer* pUserStatus) {
 | 
				
			||||||
    this->pUserStatus = pUserStatus;
 | 
					    this->pUserStatus = pUserStatus;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -43,29 +43,29 @@ public:
 | 
				
			|||||||
    SamiUser* fromJson(String* obj);
 | 
					    SamiUser* fromJson(String* obj);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Long* getpId();
 | 
					    Long* getPId();
 | 
				
			||||||
    void setpId(Long* pId);
 | 
					    void setPId(Long* pId);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpUsername();
 | 
					    String* getPUsername();
 | 
				
			||||||
    void setpUsername(String* pUsername);
 | 
					    void setPUsername(String* pUsername);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpFirstName();
 | 
					    String* getPFirstName();
 | 
				
			||||||
    void setpFirstName(String* pFirstName);
 | 
					    void setPFirstName(String* pFirstName);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpLastName();
 | 
					    String* getPLastName();
 | 
				
			||||||
    void setpLastName(String* pLastName);
 | 
					    void setPLastName(String* pLastName);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpEmail();
 | 
					    String* getPEmail();
 | 
				
			||||||
    void setpEmail(String* pEmail);
 | 
					    void setPEmail(String* pEmail);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpPassword();
 | 
					    String* getPPassword();
 | 
				
			||||||
    void setpPassword(String* pPassword);
 | 
					    void setPPassword(String* pPassword);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    String* getpPhone();
 | 
					    String* getPPhone();
 | 
				
			||||||
    void setpPhone(String* pPhone);
 | 
					    void setPPhone(String* pPhone);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    Integer* getpUserStatus();
 | 
					    Integer* getPUserStatus();
 | 
				
			||||||
    void setpUserStatus(Integer* pUserStatus);
 | 
					    void setPUserStatus(Integer* pUserStatus);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
private:
 | 
					private:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user