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

📄 address.java

📁 SSH经典练习
💻 JAVA
字号:
package com.ghy.data;

import java.io.Serializable;

public class Address implements Serializable {
	  private String street;
	  private String city;
	  private String province;
	  private String zipcode;
	  private Customer customer;

	  public Address(){}

	  public Address(String province,String city,String street,String zipcode,Customer customer)
	  {
	    this.province = province;
	    this.city = city;
	    this.street = street;
	    this.zipcode = zipcode;
	    this.customer = customer;

	  }

	  public String getStreet(){
	    return street;
	  }

	  public void setStreet(String street){
	    this.street=street;
	  }

	  public String getCity(){
	    return city;
	  }

	  public void setCity(String city){
	    this.city =city ;
	  }

	  public String getProvince(){
	    return province;
	  }

	  public void setProvince(String province){
	      this.province =province ;
	  }

	  public String getZipcode(){
	    return zipcode;
	  }

	  public void setZipcode(String zipcode){
	    this.zipcode =zipcode ;
	  }

	  public Customer getCustomer() {
	        return this.customer;
	  }
	  public void setCustomer(Customer customer) {
	        this.customer = customer;
	  }

	}

⌨️ 快捷键说明

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