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

📄 customer.java

📁 一个用Java语言实现的库存管理系统
💻 JAVA
字号:
package main.data.domain;

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


/**
 * Customer generated by MyEclipse - Hibernate Tools
 */

public class Customer  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String password;
     private String name;
     private String tel;
     private String email;
     private String address;
     private Integer credit;
     private Set productCustomers = new HashSet(0);


    // Constructors

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

	/** minimal constructor */
    public Customer(String password, String name, String tel, String address) {
        this.password = password;
        this.name = name;
        this.tel = tel;
        this.address = address;
    }
    
    /** full constructor */
    public Customer(String password, String name, String tel, String email, String address, Integer credit, Set productCustomers) {
        this.password = password;
        this.name = name;
        this.tel = tel;
        this.email = email;
        this.address = address;
        this.credit = credit;
        this.productCustomers = productCustomers;
    }

   
    // Property accessors

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

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

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

    public String getTel() {
        return this.tel;
    }
    
    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getCredit() {
        return this.credit;
    }
    
    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public Set getProductCustomers() {
        return this.productCustomers;
    }
    
    public void setProductCustomers(Set productCustomers) {
        this.productCustomers = productCustomers;
    }
   








}

⌨️ 快捷键说明

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