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

📄 users.java

📁 网上结婚登记系统 Java语言编写 可直接运行
💻 JAVA
字号:
package task.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

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

public class Users implements java.io.Serializable {


     private Integer id;
     private String name;
     private String password;
     private String sex;
     private Date birthday;
     private String role;
     private String username;
     private Set marries = new HashSet(0);
     private Set newses = new HashSet(0);


    // Constructors

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

	/** minimal constructor *//*
    public Users(String name, String password, String sex, Date birthday, String role, String username) {
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.birthday = birthday;
        this.role = role;
        this.username = username;
    }*/
    
    /** full constructor */
/*    public Users(String name, String password, String sex, Date birthday, String role, String username, Set marries, Set newses) {
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.birthday = birthday;
        this.role = role;
        this.username = username;
        this.marries = marries;
        this.newses = newses;
    }
*/
   
    // Property accessors

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

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return this.sex;
    }
    
    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return this.birthday;
    }
    
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getRole() {
        return this.role;
    }
    
    public void setRole(String role) {
        this.role = role;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

   public Set getMarries() {
        return this.marries;
    }
    
    public void setMarries(Set marries) {
        this.marries = marries;
    }

    public Set getNewses() {
        return this.newses;
    }
    
    public void setNewses(Set newses) {
        this.newses = newses;
    }
   


}

⌨️ 快捷键说明

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