company.java

来自「工厂版本管理系统,STRUTS2框架,用于管理商品的版本,便于有效的控制版本」· Java 代码 · 共 127 行

JAVA
127
字号
package com.bluesky.elecall.domain.organization;import com.bluesky.elecall.domain.order.DeliveryAddress;public class Company {	private long id;	private String name;		private String province;	private String city;	private String street;	private String street2;	private String postCode;	private String country;	private String businessArea;	private String productInterest;	private int noOfEmployees;		public long getId() {		return id;	}	public void setId(long id) {		this.id = id;	}	public String getName() {		return name;	}	public void setName(String name) {		this.name = name;	}	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 getStreet() {		return street;	}	public void setStreet(String street) {		this.street = street;	}	public String getStreet2() {		return street2;	}	public void setStreet2(String street2) {		this.street2 = street2;	}	public String getPostCode() {		return postCode;	}	public void setPostCode(String postCode) {		this.postCode = postCode;	}	public String getCountry() {		return country;	}	public void setCountry(String country) {		this.country = country;	}	public String getBusinessArea() {		return businessArea;	}	public void setBusinessArea(String businessArea) {		this.businessArea = businessArea;	}	public String getProductInterest() {		return productInterest;	}	public void setProductInterest(String productInterest) {		this.productInterest = productInterest;	}	public int getNoOfEmployees() {		return noOfEmployees;	}	public void setNoOfEmployees(int noOfEmployees) {		this.noOfEmployees = noOfEmployees;	}		public static Company getSample() {		Company company = new Company();		company.setName("test");		company.setProvince("province");		company.setCity("city");		company.setStreet("street1");		company.setStreet2("street2");		company.setPostCode("post code");		company.setCountry("china");				company.setBusinessArea("IT");		company.setProductInterest("product interest");		company.setNoOfEmployees(100);				return company;	}}

⌨️ 快捷键说明

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