⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 site.java

📁 CRMS客户关系管理系统(JAVA版),这是一个客户关系管理系统。
💻 JAVA
字号:
    /* CRMS, customer relationship management system    Copyright (C) 2003  Service To Youth Council    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    For further information contact the SYC ICT department on GPL@syc.net.au    98 Kermode Street    North Adelaide    South Australia    SA 5006     +61 (0)8 8367 0755    *//* * Site.java * * Created on 14 May 2003, 12:18 */package crms.vo;import crms.util.*;import java.util.*;/** * * @author  dmurphy */public class Site {        public static Site ALL_SITES = new Site(        null,         "*** All Sites ***",        null,        null,        null,        null,        null,        null );                private String siteCode = null;        private String siteName = null;    private String street = null;    private String suburb = null;    private String state = null;    private String postCode = null;    private String fax = null;    private String phone = null;        /** Creates a new instance of Site */    public Site() {    }        public Site(String siteCode, String siteName, String street, String suburb, String state, String postCode, String fax, String phone) {        this.siteCode = siteCode;        this.siteName = siteName;        this.street = street;        this.suburb = suburb;        this.state = state;        this.postCode = postCode;        this.fax = fax;        this.phone = phone;    }    public void setSiteCode(String code) {        this.siteCode = code;       }        public String getSiteCode() {        return siteCode;       }        public void setSiteName(String name) {        this.siteName = name;       }        public String getSiteName() {        return siteName;       }        public void setStreet(String street) {     this.street = street;       }        public String getStreet() {      return street;    }        public void setSuburb(String suburb) {        this.suburb = suburb;       }        public String getSuburb() {        return suburb;        }        public void setState(String state) {        this.state = state;       }        public String getState() {        return state;       }        public void setPostCode(String postCode) {        this.postCode = postCode;    }        public String getPostCode() {        return postCode;    }        public void setFax(String number) {        this.fax = number;    }        public String getFax() {        return fax;       }        public void setPhone(String number) {        this.phone = phone;       }        public String getPhone() {        return phone;       }        public String toString() {        return siteName;       }        public static Comparator SITE_SORT_ORDER = new Comparator() {              public int compare(Object o1, Object o2) {        Site s1 = (Site) o1;        Site s2 = (Site) o2;                return s1.getSiteName().compareTo(s2.getSiteName());      }    };    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -