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

📄 outwork.java

📁 l劳动力管理系统
💻 JAVA
字号:
package com.hr.vo;

import java.util.*;
/**
 * @hibernate.class
 * table="T_OutWork"
 *
 */
public class OutWork {
    private Long outworkUID;
    private Integer days;
    private Double travelFare;
    private Date fromDate;
    private Date toDate;
    private Double borrowFrom;
    private Double returnTo;
    private Double hotelFare;
    private String note;
    private Employee employee;
    public OutWork() {
    }
    /**
            * @hibernate.id
            *	column="OutWorkUID"
            *	generator-class="hilo"
            *	unsaved-value="null"
          */
         public Long getOutworkUID() {
    return outworkUID;
   }

    public void setOutworkUID(Long outworkUID) {
    this.outworkUID = outworkUID;
    }
    /**
         * @hibernate.property
         * column="Days"
     */
    public Integer getDays() {
      return days;
  }

    public void setDays(Integer days) {
        this.days = days;
    }
    /**
         * @hibernate.property
         * column="TravelFare"
     */
    public Double getTravelFare() {
        return travelFare;
    }

    public void setTravelFare(Double travelFare) {
        this.travelFare = travelFare;
    }
    /**
         * @hibernate.property
         * column="FromDate"
     */
    public Date getFromDate() {
     return fromDate;
 }

    public void setFromDate(Date fromDate) {
        this.fromDate = fromDate;
    }
    /**
         * @hibernate.property
         * column="ToDate"
     */
    public Date getToDate() {
      return toDate;
  }

    public void setToDate(Date toDate) {
        this.toDate = toDate;
    }
    /**
         * @hibernate.property
         * column="BorrowFrom"
     */
    public Double getBorrowFrom() {

       return borrowFrom;
   }

    public void setBorrowFrom(Double borrowFrom) {

        this.borrowFrom = borrowFrom;
    }
    /**
         * @hibernate.property
         * column="ReturnTo"
     */
    public Double getReturnTo() {

       return returnTo;
   }

    public void setReturnTo(Double returnTo) {

        this.returnTo = returnTo;
    }
    /**
         * @hibernate.property
         * column="HotelFare"
     */
    public Double getHotelFare() {
       return hotelFare;
   }

    public void setHotelFare(Double hotelFare) {
        this.hotelFare = hotelFare;
    }
    /**
         * @hibernate.property
         * column="Note"
     */
    public String getNote() {
       return note;
   }

    public void setNote(String note) {
        this.note = note;
    }
    /**
       * @hibernate.many-to-one
       * column="EmployeeUID"
       * 	cascade="none"
       * class="com.hr.vo.Employee"
    */
   public Employee getEmployee() {
       return employee;
   }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }
    public String toString()
    {
      String a = "====>" + outworkUID;
      a = a + "\n" + days;
      a = a + "\n" + fromDate;
      a = a + "\n" + travelFare;
      a = a + "\n" + toDate;
      a = a + "\n" + borrowFrom;
      a = a + "\n" + returnTo;
      a = a + "\n" + hotelFare;
      a = a + "\n" + note;
      a = a + "\n" + employee.getEmployeeName();

       return a;
    }
 }

⌨️ 快捷键说明

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