📄 trip.java
字号:
/* * Trip.java * * Created on August 7, 2006, 8:23 AM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */package hibernatetravelpojo;public class Trip implements java.io.Serializable { /** Creates a new instance of Trip */ public Trip() { } /** * Holds value of property tripId. */ private int tripId; /** * Getter for property tripId. * @return Value of property tripId. */ public int getTripId() { return this.tripId; } /** * Setter for property tripId. * @param tripId New value of property tripId. */ private void setTripId(int tripId) { this.tripId = tripId; } /** * Holds value of property personId. */ private int personId; /** * Getter for property personId. * @return Value of property personId. */ public int getPersonId() { return this.personId; } /** * Setter for property personId. * @param personId New value of property personId. */ public void setPersonId(int personId) { this.personId = personId; } /** * Holds value of property depDate. */ private java.sql.Date depDate; /** * Getter for property depDate. * @return Value of property depDate. */ public java.sql.Date getDepDate() { return this.depDate; } /** * Setter for property depDate. * @param depDate New value of property depDate. */ public void setDepDate(java.sql.Date depDate) { this.depDate = depDate; } /** * Holds value of property depCity. */ private String depCity; /** * Getter for property depCity. * @return Value of property depCity. */ public String getDepCity() { return this.depCity; } /** * Setter for property depCity. * @param depCity New value of property depCity. */ public void setDepCity(String depCity) { this.depCity = depCity; } /** * Holds value of property destCity. */ private String destCity; /** * Getter for property destCity. * @return Value of property destCity. */ public String getDestCity() { return this.destCity; } /** * Setter for property destCity. * @param destCity New value of property destCity. */ public void setDestCity(String destCity) { this.destCity = destCity; } /** * Holds value of property tripTypeId. */ private int tripTypeId; /** * Getter for property tripTypeId. * @return Value of property tripTypeId. */ public int getTripTypeId() { return this.tripTypeId; } /** * Setter for property tripTypeId. * @param tripTypeId New value of property tripTypeId. */ public void setTripTypeId(int tripTypeId) { this.tripTypeId = tripTypeId; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -