package com.backsectionmodule.bean;
import java.io.Serializable;
import com.projectmodule.bean.TbProject;
import com.projectmodule.dao.TbProjectDAO;
public class TbBackSection implements Serializable{
private int backSectionId;
private String backSectionCode;
private String projectCode;
private TbProject tbProject;
private int backSectionType;
private int backSectionSequence;
private double backSectionAmount;
private String backSectionCompanyName;
private String backSectionTime;
private String createTime;
public int getBackSectionId(){
return backSectionId;
}
public void setBackSectionId(int backSectionId){
this.backSectionId = backSectionId;
}
public String getBackSectionCode(){
return backSectionCode;
}
public void setBackSectionCode(String backSectionCode){
this.backSectionCode = backSectionCode;
}
public int getBackSectionType(){
return backSectionType;
}
public void setBackSectionType(int backSectionType){
this.backSectionType = backSectionType;
}
public int getBackSectionSequence(){
return backSectionSequence;
}
public void setBackSectionSequence(int backSectionSequence){
this.backSectionSequence = backSectionSequence;
}
public String getProjectCode() {
return projectCode;
}
public void setProjectCode(String projectCode) {
this.projectCode = projectCode;
this.tbProject=new TbProjectDAO().getTbProjectByProjectCode(projectCode);
}
public String getBackSectionCompanyName(){
return backSectionCompanyName;
}
public void setBackSectionCompanyName(String backSectionCompanyName){
this.backSectionCompanyName = backSectionCompanyName;
}
public String getBackSectionTime(){
return backSectionTime;
}
public double getBackSectionAmount() {
return backSectionAmount;
}
public void setBackSectionAmount(double backSectionAmount) {
this.backSectionAmount = backSectionAmount;
}
public void setBackSectionTime(String backSectionTime){
this.backSectionTime = backSectionTime;
}
public String getCreateTime(){
return createTime;
}
public void setCreateTime(String createTime){
this.createTime = createTime;
}
public TbProject getTbProject() {
return tbProject;
}
public void setTbProject(TbProject tbProject) {
this.tbProject = tbProject;
}
public TbBackSection(){
}
public TbBackSection(String backSectionCode,String projectCode,int backSectionType,int backSectionSequence,double backSectionAmount,String backSectionCompanyName,String backSectionTime){
this.backSectionCode = backSectionCode;
this.projectCode = projectCode;
this.backSectionType = backSectionType;
this.backSectionSequence = backSectionSequence;
this.backSectionAmount = backSectionAmount;
this.backSectionCompanyName = backSectionCompanyName;
this.backSectionTime = backSectionTime;
}
public TbBackSection(int backSectionId,String backSectionCode,String projectCode,int backSectionType,int backSectionSequence,double backSectionAmount,String backSectionCompanyName,String backSectionTime){
this.backSectionId = backSectionId;
this.backSectionCode = backSectionCode;
this.projectCode = projectCode;
this.backSectionType = backSectionType;
this.backSectionSequence = backSectionSequence;
this.backSectionAmount = backSectionAmount;
this.backSectionCompanyName = backSectionCompanyName;
this.backSectionTime = backSectionTime;
}
}