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

📄 employee.java

📁 一个java生成自动生成Excel
💻 JAVA
字号:
package net.sf.jxls.sample.model;import java.util.Date;/** * Sample Employee bean to demostrate simple export features * author: Leonid Vysochyn */public class Employee {    private String name;    private int age;    private Double payment;    private Double bonus;    private Date birthDate;    private Employee superior;    public Employee(String name, int age, Double payment, Double bonus) {        this.name = name;        this.age = age;        this.payment = payment;        this.bonus = bonus;    }    public Employee(String name, int age, double payment, double bonus, Date birthDate) {        this.name = name;        this.age = age;        this.payment = new Double(payment);        this.bonus = new Double(bonus);        this.birthDate = birthDate;    }    public Employee(String name, int age, double payment, double bonus) {        this.name = name;        this.age = age;        this.payment = new Double(payment);        this.bonus = new Double(bonus);    }    public String getName() {        return name;    }    public void setName(String name) {        this.name = name;    }    public int getAge() {        return age;    }    public void setAge(int age) {        this.age = age;    }    public Double getPayment() {        return payment;    }    public void setPayment(Double payment) {        this.payment = payment;    }    public Double getBonus() {        return bonus;    }    public void setBonus(Double bonus) {        this.bonus = bonus;    }    public Date getBirthDate() {        return birthDate;    }    public void setBirthDate(Date birthDate) {        this.birthDate = birthDate;    }    public Employee getSuperior() {        return superior;    }    public void setSuperior(Employee superior) {        this.superior = superior;    }}

⌨️ 快捷键说明

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