You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
1.9 KiB

import com.wb.excel.api.annotation.ColumnName;
import com.wb.excel.api.annotation.SheetName;
import java.util.Date;
@SheetName("用户")
public class User {
@ColumnName("文字")
private String wz;
@ColumnName("日期时间")
private Date date;
@ColumnName("布尔")
private boolean br;
@ColumnName("比特")
private byte bt;
@ColumnName("字符")
private char zf;
@ColumnName("短整数")
private short dzs;
@ColumnName("整数")
private int zs;
@ColumnName("长整数")
private long czs;
@ColumnName("浮点")
private float fd;
@ColumnName("双精度")
private double sjd;
public String getWz() {
return wz;
}
public void setWz(String wz) {
this.wz = wz;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
public boolean isBr() {
return br;
}
public void setBr(boolean br) {
this.br = br;
}
public byte getBt() {
return bt;
}
public void setBt(byte bt) {
this.bt = bt;
}
public char getZf() {
return zf;
}
public void setZf(char zf) {
this.zf = zf;
}
public short getDzs() {
return dzs;
}
public void setDzs(short dzs) {
this.dzs = dzs;
}
public int getZs() {
return zs;
}
public void setZs(int zs) {
this.zs = zs;
}
public long getCzs() {
return czs;
}
public void setCzs(long czs) {
this.czs = czs;
}
public float getFd() {
return fd;
}
public void setFd(float fd) {
this.fd = fd;
}
public double getSjd() {
return sjd;
}
public void setSjd(double sjd) {
this.sjd = sjd;
}
@Override
public String toString() {
return String.valueOf(this.zf);
}
}

Powered by TurnKey Linux.