| | |
| | | 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 { |
| | | private Long id; |
| | | private String name; |
| | | private String companyType; |
| | | private String profitYN; |
| | | private String industy; |
| | | private String domain; |
| | | private String email; |
| | | public class CompanyFieldForm extends UsePartnerForm { |
| | | private String manager; |
| | | private String url; |
| | | private String ipStart; |
| | | private String ipEnd; |
| | | private String memo; |
| | | private String tel; |
| | | private String desc; |
| | | private Long ispId; |
| | | private Long hostingId; |
| | | private Long companyTypeId; |
| | | private Long parentSectorId; |
| | | private Long childSectorId; |
| | | private Long regionId; |
| | | private Long statusId; |
| | | private String companyTypeName; |
| | | private String parentSectorName; |
| | | private String childSectorName; |
| | | private String regionName; |
| | | private String statusName; |
| | | |
| | | private Long registerId; // 등록자 아이디 - excel import 에서 사용 |
| | | |
| | | private List<Long> removeIds = Lists.newArrayList(); |
| | | |
| | | public CompanyFieldForm() { |
| | |
| | | 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")); |
| | | } |
| | | return form; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | public String getManager() { |
| | | return manager; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getCompanyType() { |
| | | return companyType; |
| | | } |
| | | |
| | | public void setCompanyType(String companyType) { |
| | | this.companyType = companyType; |
| | | } |
| | | |
| | | public String getProfitYN() { |
| | | return profitYN; |
| | | } |
| | | |
| | | public void setProfitYN(String profitYN) { |
| | | this.profitYN = profitYN; |
| | | } |
| | | |
| | | public String getIndusty() { |
| | | return industy; |
| | | } |
| | | |
| | | public void setIndusty(String industy) { |
| | | this.industy = industy; |
| | | } |
| | | |
| | | public String getDomain() { |
| | | return domain; |
| | | } |
| | | |
| | | public void setDomain(String domain) { |
| | | this.domain = domain; |
| | | } |
| | | |
| | | public String getEmail() { |
| | | return email; |
| | | } |
| | | |
| | | public void setEmail(String email) { |
| | | this.email = email; |
| | | public void setManager(String manager) { |
| | | this.manager = manager; |
| | | } |
| | | |
| | | public String getTel() { |
| | |
| | | this.tel = tel; |
| | | } |
| | | |
| | | public String getDesc() { |
| | | return desc; |
| | | public String getUrl() { |
| | | return url; |
| | | } |
| | | |
| | | public void setDesc(String desc) { |
| | | this.desc = desc; |
| | | public void setUrl(String url) { |
| | | this.url = url; |
| | | } |
| | | |
| | | public String getIpStart() { |
| | | return ipStart; |
| | | } |
| | | |
| | | public void setIpStart(String ipStart) { |
| | | this.ipStart = ipStart; |
| | | } |
| | | |
| | | public String getIpEnd() { |
| | | return ipEnd; |
| | | } |
| | | |
| | | public void setIpEnd(String ipEnd) { |
| | | this.ipEnd = ipEnd; |
| | | } |
| | | |
| | | public String getMemo() { |
| | | return memo; |
| | | } |
| | | |
| | | public void setMemo(String memo) { |
| | | this.memo = memo; |
| | | } |
| | | |
| | | public Long getIspId() { |
| | | return ispId; |
| | | } |
| | | |
| | | public void setIspId(Long ispId) { |
| | | this.ispId = ispId; |
| | | } |
| | | |
| | | public Long getHostingId() { |
| | | return hostingId; |
| | | } |
| | | |
| | | public void setHostingId(Long hostingId) { |
| | | this.hostingId = hostingId; |
| | | } |
| | | |
| | | public List<Long> getRemoveIds() { |
| | |
| | | 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; |
| | | } |
| | | |
| | | public Long getRegisterId() { |
| | | return registerId; |
| | | } |
| | | |
| | | public void setRegisterId(Long registerId) { |
| | | this.registerId = registerId; |
| | | } |
| | | |
| | | public String getCompanyTypeName() { |
| | | return companyTypeName; |
| | | } |
| | | |
| | | public void setCompanyTypeName(String companyTypeName) { |
| | | this.companyTypeName = companyTypeName; |
| | | } |
| | | |
| | | public String getParentSectorName() { |
| | | return parentSectorName; |
| | | } |
| | | |
| | | public void setParentSectorName(String parentSectorName) { |
| | | this.parentSectorName = parentSectorName; |
| | | } |
| | | |
| | | public String getChildSectorName() { |
| | | return childSectorName; |
| | | } |
| | | |
| | | public void setChildSectorName(String childSectorName) { |
| | | this.childSectorName = childSectorName; |
| | | } |
| | | |
| | | public String getRegionName() { |
| | | return regionName; |
| | | } |
| | | |
| | | public void setRegionName(String regionName) { |
| | | this.regionName = regionName; |
| | | } |
| | | } |