package kr.wisestone.owl.web.form; import com.google.common.collect.Lists; import kr.wisestone.owl.util.ConvertUtil; import kr.wisestone.owl.util.MapUtil; 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 Long ispId; private Long hostingId; private List removeIds = Lists.newArrayList(); public CompanyFieldForm() { } public static CompanyFieldForm make(Map params) { CompanyFieldForm form = ConvertUtil.convertMapToClass(params, CompanyFieldForm.class); if (MapUtil.getLongs(params,"removeIds") != null) { form.setRemoveIds(MapUtil.getLongs(params, "removeIds")); } return form; } public String getManager() { return manager; } public void setManager(String manager) { this.manager = manager; } public String getTel() { return tel; } public void setTel(String tel) { this.tel = tel; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } 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 getRemoveIds() { return removeIds; } public void setRemoveIds(List removeIds) { this.removeIds = removeIds; } }