37 lines
934 B
Plaintext
37 lines
934 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 PrinterForm implements Serializable {
|
|
|
|
private String serverId;
|
|
private String serverName;
|
|
|
|
/////////////////////////////////////////
|
|
// setdata
|
|
public void setPrinterData(ResultSet rs) throws SQLException, ParseException {
|
|
setServerId(rs.getString("server_id"));
|
|
setServerName(rs.getString("server_name"));
|
|
}
|
|
/////////////////////////////////////////
|
|
// getter and setter
|
|
|
|
public String getServerId() {
|
|
return serverId;
|
|
}
|
|
|
|
public void setServerId(String serverId) {
|
|
this.serverId = serverId;
|
|
}
|
|
|
|
public String getServerName() {
|
|
return serverName;
|
|
}
|
|
|
|
public void setServerName(String serverName) {
|
|
this.serverName = serverName;
|
|
}
|
|
} |