⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstractfare.java

📁 航空订票系统,可实现航空订票的主要功能.
💻 JAVA
字号:
package hibernate;

import java.util.HashSet;
import java.util.Set;


/**
 * AbstractFare generated by MyEclipse - Hibernate Tools
 */

public abstract class AbstractFare  implements java.io.Serializable {


    // Fields    

     private String routeCode;
     private String routeDesc;
     private String origin;
     private String destination;
     private double firstFare;
     private double busFare;
     private double ecoFare;
     private Set flightSchedules = new HashSet();


    // Constructors

    /** default constructor */
    public AbstractFare() {
    }

	/** minimal constructor */
    public AbstractFare(String routeCode) {
        this.routeCode = routeCode;
    }
    
    /** full constructor */
    public AbstractFare(String routeCode, String routeDesc, String origin, String destination, double firstFare, double busFare, double ecoFare, Set flightSchedules) {
        this.routeCode = routeCode;
        this.routeDesc = routeDesc;
        this.origin = origin;
        this.destination = destination;
        this.firstFare = firstFare;
        this.busFare = busFare;
        this.ecoFare = ecoFare;
        this.flightSchedules = flightSchedules;
    }
    

   
    // Property accessors

    public String getRouteCode() {
        return this.routeCode;
    }
    
    public void setRouteCode(String routeCode) {
        this.routeCode = routeCode;
    }

    public String getRouteDesc() {
        return this.routeDesc;
    }
    
    public void setRouteDesc(String routeDesc) {
        this.routeDesc = routeDesc;
    }

    public String getOrigin() {
        return this.origin;
    }
    
    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDestination() {
        return this.destination;
    }
    
    public void setDestination(String destination) {
        this.destination = destination;
    }

    public double getFirstFare() {
        return this.firstFare;
    }
    
    public void setFirstFare(double firstFare) {
        this.firstFare = firstFare;
    }

    public double getBusFare() {
        return this.busFare;
    }
    
    public void setBusFare(double busFare) {
        this.busFare = busFare;
    }

    public double getEcoFare() {
        return this.ecoFare;
    }
    
    public void setEcoFare(double ecoFare) {
        this.ecoFare = ecoFare;
    }

    public Set getFlightSchedules() {
        return this.flightSchedules;
    }
    
    public void setFlightSchedules(Set flightSchedules) {
        this.flightSchedules = flightSchedules;
    }
   








}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -