九月十日
今天修改了考试时写的代码
import java.util.Scanner;
class PlanInformation {
int id=0;//表示日报流水号,依次加一
String planid;//表示产品生产批次号
String planname;//表示产品名称
String process;//表示当前工序名称
String nextprocess;//表示下一接收工序名称
String operator;//表示当前工序的操作者
String recipient;//表示下一道工序的接受者
int plannumber;//表示该产品定要要求的产品数量
int innumber;//表示从上一道工序的接收的合格产品总数
int outnumber;//表示当前工序的产品转出总数
int missnumber;//表示当前工序的产品丢失数量
int badnumber;//表示当前工序的产品废品数量
int inspectednumber;//表示当前工序的产品待检验数量
int statement;//表示该日报记录的状态,0表示初始计划,1表示日报提交,2表示日报确认
public int getid()
{
return id;
}
public void setid(int a)
{
this.id=a;
}
public String getplanid()
{
return planid;
}
public void setplanid(String a)
{
this.planid=a;
}
public String getplanname()
{
return planname;
}
public void setplanname(String a)
{
this.planname=a;
}
public String getprocess()
{
return process;
}
public void setprocess(String a)
{
this.process=a;
}
public String getnextprocess()
{
return nextprocess;
}
public void setnextprocess(String a)
{
this.nextprocess=a;
}
public String getoperator()
{
return operator;
}
public void setoperator(String a)
{
this.operator=a;
}
public String getrecipient()
{
return recipient;
}
public void setrecipient(String a)
{
this.recipient=a;
}
public int getplannumber()
{
return plannumber;
}
public void setplannumber(int a)
{
this.plannumber=a;
}
public int getoutnumber()
{
return outnumber;
}
public void setoutnumber(int a)
{
this.outnumber=a;
}
public int getmissnumber()
{
return missnumber;
}
public void setmissnumber(int a)
{
this.missnumber=a;
}
public int getinnumber()
{
return innumber;
}
public void setinnumber(int a)
{
this.innumber=a;
}
public int getbadnumber()
{
return badnumber;
}
public void setbadnumber(int a)
{
this.badnumber=a;
}
public int getinspectednumber()
{
return inspectednumber;
}
public void setinspectednumber(int a)
{
this.inspectednumber=a;
}
public int getstatement()
{
return statement;
}
public void setstatement(int a)
{
this.statement=a;
}
public PlanInformation(int id,String planid,String planname,String process,String nextprocess,String operator,String recipient,int plannumber,int innumber,int outnumber,int missnumber,int badnumber,int inspectednumber,int statement)
{
this.id=id;
this.planid=planid;
this.planname=planname;
this.process=process;
this.nextprocess=nextprocess;
this.operator=operator;
this.recipient=recipient;
this.plannumber=plannumber;
this.innumber=innumber;
this.outnumber=outnumber;
this.missnumber=missnumber;
this.badnumber=badnumber;
this.inspectednumber=inspectednumber;
this.statement=statement;
}
}