hexiaoreport.java

来自「文件的上传和下载的实现,用JAva编写,非常简单」· Java 代码 · 共 78 行

JAVA
78
字号
package edu.whut.cwts.pg.hexiao ; 
import java.util.*;

public class HexiaoReport{ 
String pzmc;//核销票据名称
String qh;  //核销票据起号
String zh;  //核销票据止号
long fs;  //核销票据份数
String zfh; //作废号
long zffs; //作废份数
float je;   //票段金额总数

public HexiaoReport(String pzmc,String qh,String zh,long fs,String zfh,long zffs,float je){
this.pzmc=pzmc;
this.qh=qh;
this.zh=zh;
this.fs=fs;
this.zfh=zfh;
this.zffs=zffs;
this.je=je;
}

public HexiaoReport(){
pzmc=null;
qh=null;
zh=null;
fs=0;
zfh=null;
zffs=0;
je=0;
}

public void setPzmc(String pzmc){
this.pzmc=pzmc;
}
public void setQh(String qh){
this.qh=qh;
}
public void setZh(String zh){
this.zh=zh;
}
public void setFs(long fs){
this.fs=fs;
}
public void setZfh(String zfh){
this.zfh=zfh;
}
public void setZffs(long zffs){
this.zffs=zffs;
}
public void setJe(float je){
this.je=je;
}

public String getPzmc(){
return pzmc;
}
public String getQh(){
return qh;
}
public String getZh(){
return zh;
}
public long getFs(){
return fs;
}
public String getZfh(){
return zfh;
}
public long getZffs(){
return zffs;
}
public float getJe(){
return je;
}

} 

⌨️ 快捷键说明

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