stipend.java

来自「人力资源信息管理系统!包含登录 员工管理 培训经历 用户管理 出勤管理等一系列人」· Java 代码 · 共 105 行

JAVA
105
字号
package com.buat.stipend;

import java.sql.Date;

public class Stipend {
	private int id=0;
	private int employeeid=0;
	private float basic=0;
	private float eat=0;
	private float house=0;
	private float duty=0;
	private float tax=0;
	private float assistance=0;
	private float punishment=0;
	private Date granttime;
	private float total=0;
	
	public int getId() {
		return id;
	}
	public Stipend() {
		super();
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getEmployeeid() {
		return employeeid;
	}
	public void setEmployeeid(int employeeid) {
		this.employeeid = employeeid;
	}
	public float getBasic() {
		return basic;
	}
	public void setBasic(float basic) {
		this.basic = basic;
	}
	public float getEat() {
		return eat;
	}
	public void setEat(float eat) {
		this.eat = eat;
	}
	public float getHouse() {
		return house;
	}
	public void setHouse(float house) {
		this.house = house;
	}
	public float getDuty() {
		return duty;
	}
	public void setDuty(float duty) {
		this.duty = duty;
	}
	public float getTax() {
		return tax;
	}
	public void setTax(float tax) {
		this.tax = tax;
	}
	public float getAssistance() {
		return assistance;
	}
	public void setAssistance(float assistance) {
		this.assistance = assistance;
	}
	public float getPunishment() {
		return punishment;
	}
	public void setPunishment(float punishment) {
		this.punishment = punishment;
	}
	public Date getGranttime() {
		return granttime;
	}
	public void setGranttime(Date granttime) {
		this.granttime = granttime;
	}
	public float getTotal() {
		total = this.basic+this.eat+this.house+this.duty - this.tax+this.assistance-this.punishment;
		return total;
	}
	public void setTotal(float total) {
		this.total = this.basic+this.eat+this.house+this.duty-this.tax+this.assistance-this.punishment;
	}
	public Stipend(int employeeid, float basic, float eat, float house,
			float duty, float tax, float assistance, float punishment,
			Date granttime, float total) {
		super();
		this.employeeid = employeeid;
		this.basic = basic;
		this.eat = eat;
		this.house = house;
		this.duty = duty;
		this.tax = tax;
		this.assistance = assistance;
		this.punishment = punishment;
		this.granttime = granttime;
		this.total = total;
	}

}

⌨️ 快捷键说明

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