38 lines
911 B
Plaintext
38 lines
911 B
Plaintext
|
package th.co.muangthai.endrprint.model.bean.form.master;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
import java.sql.ResultSet;
|
||
|
import java.sql.SQLException;
|
||
|
import java.text.ParseException;
|
||
|
|
||
|
public class TeamForm implements Serializable {
|
||
|
|
||
|
private String teamCode;
|
||
|
private String teamDesc;
|
||
|
|
||
|
/////////////////////////////////////////
|
||
|
// setdata
|
||
|
public void setTeamData(ResultSet rs) throws SQLException, ParseException {
|
||
|
setTeamCode(rs.getString("team_code"));
|
||
|
setTeamDesc(rs.getString("team_name"));
|
||
|
}
|
||
|
|
||
|
/////////////////////////////////////////
|
||
|
// getter and setter
|
||
|
|
||
|
public String getTeamCode() {
|
||
|
return teamCode;
|
||
|
}
|
||
|
|
||
|
public void setTeamCode(String teamCode) {
|
||
|
this.teamCode = teamCode;
|
||
|
}
|
||
|
|
||
|
public String getTeamDesc() {
|
||
|
return teamDesc;
|
||
|
}
|
||
|
|
||
|
public void setTeamDesc(String teamDesc) {
|
||
|
this.teamDesc = teamDesc;
|
||
|
}
|
||
|
}
|