place.java

来自「网上结婚登记系统 Java语言编写 可直接运行」· Java 代码 · 共 87 行

JAVA
87
字号
package task.domain;



/**
 * Place entity. @author MyEclipse Persistence Tools
 */

public class Place  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String province;
     private String city;
     private String area;
     private String street;


    // Constructors

    /** default constructor */
    public Place() {
    }

    
    /** full constructor */
    public Place(String province, String city, String area, String street) {
        this.province = province;
        this.city = city;
        this.area = area;
        this.street = street;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

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

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

    public String getArea() {
        return this.area;
    }
    
    public void setArea(String area) {
        this.area = area;
    }

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








}

⌨️ 快捷键说明

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