| | |
| | | import kr.wisestone.owl.util.ConvertUtil; |
| | | import kr.wisestone.owl.util.MapUtil; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public class CompanyFieldForm extends UsePartnerForm { |
| | | private String manager; |
| | | private String tel; |
| | | private String url; |
| | | private String memo; |
| | | private String tel; |
| | | private Long ispId; |
| | | private Long hostingId; |
| | | private Long companyTypeId; |
| | | private Long parentSectorId; |
| | | private Long childSectorId; |
| | | private Long regionId; |
| | | private Long statusId; |
| | | private String statusName; |
| | | |
| | | private List<Long> removeIds = Lists.newArrayList(); |
| | | |
| | |
| | | } |
| | | public static CompanyFieldForm make(Map<String, Object> params) { |
| | | CompanyFieldForm form = ConvertUtil.convertMapToClass(params, CompanyFieldForm.class); |
| | | |
| | | if (MapUtil.getStrings(params, "tels") != null) { |
| | | form.setTelList(MapUtil.getStrings(params, "tels")); |
| | | } |
| | | |
| | | if (MapUtil.getStrings(params, "emails") != null) { |
| | | form.setEmailList(MapUtil.getStrings(params, "emails")); |
| | | } |
| | | |
| | | if (MapUtil.getLongs(params,"removeIds") != null) { |
| | | form.setRemoveIds(MapUtil.getLongs(params, "removeIds")); |
| | |
| | | public void setRemoveIds(List<Long> removeIds) { |
| | | this.removeIds = removeIds; |
| | | } |
| | | |
| | | public Long getCompanyTypeId() { |
| | | return companyTypeId; |
| | | } |
| | | |
| | | public void setCompanyTypeId(Long companyTypeId) { |
| | | this.companyTypeId = companyTypeId; |
| | | } |
| | | |
| | | public Long getParentSectorId() { |
| | | return parentSectorId; |
| | | } |
| | | |
| | | public void setParentSectorId(Long parentSectorId) { |
| | | this.parentSectorId = parentSectorId; |
| | | } |
| | | |
| | | public Long getChildSectorId() { |
| | | return childSectorId; |
| | | } |
| | | |
| | | public void setChildSectorId(Long childSectorId) { |
| | | this.childSectorId = childSectorId; |
| | | } |
| | | |
| | | public Long getRegionId() { |
| | | return regionId; |
| | | } |
| | | |
| | | public void setRegionId(Long regionId) { |
| | | this.regionId = regionId; |
| | | } |
| | | |
| | | public Long getStatusId() { |
| | | return statusId; |
| | | } |
| | | |
| | | public void setStatusId(Long statusId) { |
| | | this.statusId = statusId; |
| | | } |
| | | |
| | | public String getStatusName() { |
| | | return statusName; |
| | | } |
| | | |
| | | public void setStatusName(String statusName) { |
| | | this.statusName = statusName; |
| | | } |
| | | } |