/* * Copyright(c) 2017 lizhaotailang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.github.marktony.espresso.data; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by lizhaotailang on 2017/2/9. * Immutable model class for a CompanyRecognition. */ public class CompanyRecognition { @Expose @SerializedName("companyCode") private String companyCode; @Expose @SerializedName("num") private String number; @Expose @SerializedName("auto") private List<Auto> auto; public String getCompanyCode() { return companyCode; } public void setCompanyCode(String companyCode) { this.companyCode = companyCode; } public String getNumber() { return number; } public void setNumber(String number) { this.number = number; } public List<Auto> getAuto() { return auto; } public void setAuto(List<Auto> auto) { this.auto = auto; } public class Auto { @Expose @SerializedName("comCode") private String companyCode; @Expose @SerializedName("id") private String id; @Expose @SerializedName("noCount") private int noCount; @Expose @SerializedName("noPre") private String noPre; @Expose @SerializedName("startTime") private String startTime; public String getCompanyCode() { return companyCode; } public void setCompanyCode(String companyCode) { this.companyCode = companyCode; } public String getId() { return id; } public void setId(String id) { this.id = id; } public int getNoCount() { return noCount; } public void setNoCount(int noCount) { this.noCount = noCount; } public String getNoPre() { return noPre; } public void setNoPre(String noPre) { this.noPre = noPre; } public String getStartTime() { return startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } } }