custaccount.java

来自「基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰」· Java 代码 · 共 104 行

JAVA
104
字号
package com.yuanchung.sales.model.service;

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

import com.yuanchung.sales.model.customer.Customer;

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

public class CustAccount implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer flag;
	private Set complaints = new HashSet(0);
	private String loginName;
	private String password;
	private Date createTime;
	private Customer customer;
	// Constructors

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

	/** minimal constructor */
	public CustAccount(Integer flag) {
		this.flag = flag;
	}

	/** full constructor */
	public CustAccount(Integer flag, Set complaints,String password,String loginName) {

		this.flag = flag;
		this.complaints = complaints;
		this.loginName = loginName;
		this.password = password;
	}

	// Property accessors

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

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

	public Integer getFlag() {
		return this.flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Set getComplaints() {
		return this.complaints;
	}

	public void setComplaints(Set complaints) {
		this.complaints = complaints;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

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

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Customer getCustomer() {
		return customer;
	}

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

}

⌨️ 快捷键说明

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