package com.example.smart.ui.item.bean;
|
|
import com.example.smart.bean.EntityRef;
|
import com.example.smart.enumlist.ProjectType;
|
import com.example.smart.enumlist.ProjectUsageType;
|
import com.google.gson.annotations.SerializedName;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* @description:
|
*/
|
public class ProjectInfoParam implements Serializable {
|
|
|
@SerializedName("id")
|
private int id;
|
@SerializedName("name")
|
private String name;
|
@SerializedName("type")
|
private ProjectType type;
|
@SerializedName("usageType")
|
private ProjectUsageType usageType;
|
@SerializedName("departmentPath")
|
private String departmentPath;
|
@SerializedName("client")
|
private EntityRef client;
|
@SerializedName("constructionLicense")
|
private String constructionLicense;
|
|
@SerializedName("constructionLicenseFiles")
|
private List<EntityRef> constructionLicenseFiles;
|
|
@SerializedName("itemCode")
|
private String itemCode;
|
@SerializedName("branchCompany")
|
public String branchCompany;
|
@SerializedName("constructionCompanyInfo")
|
public CompanyInfo constructionCompanyInfo;
|
@SerializedName("supervisorCompanyInfo")
|
public CompanyInfo supervisorCompanyInfo;
|
@SerializedName("developmentCompanyInfo")
|
public CompanyInfo developmentCompanyInfo;
|
@SerializedName("addressInfo")
|
public AddressInfo addressInfo;
|
@SerializedName("projectCost")
|
public int projectCost;
|
@SerializedName("creator")
|
public EntityRef creator;
|
@SerializedName("createTime")
|
public String createTime;
|
@SerializedName("updateTime")
|
public String updateTime;
|
|
|
public static class AddressInfo implements Serializable {
|
@SerializedName("province")
|
private String province;
|
@SerializedName("city")
|
private String city;
|
@SerializedName("district")
|
private String district;
|
@SerializedName("detail")
|
private String detail;
|
|
public String getProvince() {
|
return province;
|
}
|
|
public void setProvince(String province) {
|
this.province = province;
|
}
|
|
public String getCity() {
|
return city;
|
}
|
|
public void setCity(String city) {
|
this.city = city;
|
}
|
|
public String getDistrict() {
|
return district;
|
}
|
|
public void setDistrict(String district) {
|
this.district = district;
|
}
|
|
public String getDetail() {
|
return detail;
|
}
|
|
public void setDetail(String detail) {
|
this.detail = detail;
|
}
|
}
|
|
// 根据以下注释生成对应的静态类
|
// "developmentCompanyInfo": {
|
// "name": "比满往太委特龙",
|
// "phone": "19881141264"
|
// }
|
public static class CompanyInfo implements Serializable {
|
@SerializedName("name")
|
private String name;
|
@SerializedName("phone")
|
private String phone;
|
|
public String leader;
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
}
|
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
|
public ProjectType getType() {
|
return type;
|
}
|
|
public void setType(ProjectType type) {
|
this.type = type;
|
}
|
|
public ProjectUsageType getUsageType() {
|
return usageType;
|
}
|
|
public void setUsageType(ProjectUsageType usageType) {
|
this.usageType = usageType;
|
}
|
|
public String getDepartmentPath() {
|
return departmentPath;
|
}
|
|
public void setDepartmentPath(String departmentPath) {
|
this.departmentPath = departmentPath;
|
}
|
|
public EntityRef getClient() {
|
return client;
|
}
|
|
public void setClient(EntityRef client) {
|
this.client = client;
|
}
|
|
public String getConstructionLicense() {
|
return constructionLicense;
|
}
|
|
public void setConstructionLicense(String constructionLicense) {
|
this.constructionLicense = constructionLicense;
|
}
|
|
public List<EntityRef> getConstructionLicenseFiles() {
|
return constructionLicenseFiles;
|
}
|
|
public void setConstructionLicenseFiles(List<EntityRef> constructionLicenseFiles) {
|
this.constructionLicenseFiles = constructionLicenseFiles;
|
}
|
|
public String getItemCode() {
|
return itemCode;
|
}
|
|
public void setItemCode(String itemCode) {
|
this.itemCode = itemCode;
|
}
|
|
|
}
|