forked from pxqbzjk5c/ECMS
				
			
							parent
							
								
									58c1d16079
								
							
						
					
					
						commit
						490bc0829c
					
				@ -1,85 +0,0 @@
 | 
				
			||||
package com.prj.domain;
 | 
				
			||||
 | 
				
			||||
import java.math.BigDecimal;
 | 
				
			||||
 | 
				
			||||
import org.apache.commons.lang3.builder.ToStringBuilder;
 | 
				
			||||
import org.apache.commons.lang3.builder.ToStringStyle;
 | 
				
			||||
 | 
				
			||||
public class Employee
 | 
				
			||||
{
 | 
				
			||||
    private static final long serialVersionUID = 1L;
 | 
				
			||||
 | 
				
			||||
    /** 编号 */
 | 
				
			||||
    private Long id;
 | 
				
			||||
 | 
				
			||||
    /** 部门 */
 | 
				
			||||
    private String dept;
 | 
				
			||||
 | 
				
			||||
    /** 姓名 */
 | 
				
			||||
    private String name;
 | 
				
			||||
 | 
				
			||||
    /** 职位 */
 | 
				
			||||
    private String position;
 | 
				
			||||
 | 
				
			||||
    /** 薪资 */
 | 
				
			||||
    private BigDecimal salary;
 | 
				
			||||
 | 
				
			||||
    public void setId(Long id) 
 | 
				
			||||
    {
 | 
				
			||||
        this.id = id;
 | 
				
			||||
    }
 | 
				
			||||
 | 
				
			||||
    public Long getId() 
 | 
				
			||||
    {
 | 
				
			||||
        return id;
 | 
				
			||||
    }
 | 
				
			||||
    public void setDept(String dept) 
 | 
				
			||||
    {
 | 
				
			||||
        this.dept = dept;
 | 
				
			||||
    }
 | 
				
			||||
 | 
				
			||||
    public String getDept() 
 | 
				
			||||
    {
 | 
				
			||||
        return dept;
 | 
				
			||||
    }
 | 
				
			||||
    public void setName(String name) 
 | 
				
			||||
    {
 | 
				
			||||
        this.name = name;
 | 
				
			||||
    }
 | 
				
			||||
 | 
				
			||||
    public String getName() 
 | 
				
			||||
    {
 | 
				
			||||
        return name;
 | 
				
			||||
    }
 | 
				
			||||
    public void setPosition(String position) 
 | 
				
			||||
    {
 | 
				
			||||
        this.position = position;
 | 
				
			||||
    }
 | 
				
			||||
 | 
				
			||||
    public String getPosition() 
 | 
				
			||||
    {
 | 
				
			||||
        return position;
 | 
				
			||||
    }
 | 
				
			||||
    public void setSalary(BigDecimal salary) 
 | 
				
			||||
    {
 | 
				
			||||
        this.salary = salary;
 | 
				
			||||
    }
 | 
				
			||||
 | 
				
			||||
    public BigDecimal getSalary() 
 | 
				
			||||
    {
 | 
				
			||||
        return salary;
 | 
				
			||||
    }
 | 
				
			||||
 | 
				
			||||
    @Override
 | 
				
			||||
    public String toString() {
 | 
				
			||||
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
 | 
				
			||||
            .append("id", getId())
 | 
				
			||||
            .append("dept", getDept())
 | 
				
			||||
            .append("name", getName())
 | 
				
			||||
            .append("position", getPosition())
 | 
				
			||||
            .append("salary", getSalary())
 | 
				
			||||
            .toString();
 | 
				
			||||
    }
 | 
				
			||||
}
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
					Loading…
					
					
				
		Reference in new issue