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

📄 abstracttmsorderdetailcargo.java

📁 测试管理平台 1。基础数据模块 2。业务操作模块 3。报表模块
💻 JAVA
字号:
/*
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 *
 * Created Fri Oct 19 14:00:05 CST 2007 by MyEclipse Hibernate Tool.
 */
package com.pegasus.app.tms.pojo.vo;

import java.io.Serializable;

/**
 * A class that represents a row in the tms_order_detail_cargo table. 
 * You can customize the behavior of this class by editing the class, {@link TmsOrderDetailCargo()}.
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 */
public abstract class AbstractTmsOrderDetailCargo 
    extends com.pegasus.framework.pojo.AbstractBusinessObject
    implements Serializable
{
    /** The cached hash code value for this instance.  Settting to 0 triggers re-calculation. */
    private int hashValue = 0;

    /** The composite primary key value. */
    private java.lang.Long id;

    /** The value of the tmsOrder association. */
    private TmsOrder tmsOrder;

    /** The value of the simple cargoId property. */
    private java.lang.Long cargoId;

    /** The value of the simple batchNumber property. */
    private java.lang.Long batchNumber;

    /** The value of the simple cargoName property. */
    private java.lang.String cargoName;

    /** The value of the simple address property. */
    private java.lang.String address;

    /** The value of the simple amount property. */
    private java.lang.Double amount;

    /** The value of the simple amountUnit property. */
    private java.lang.String amountUnit;

    /** The value of the simple vol property. */
    private java.lang.Double vol;

    /** The value of the simple volUnit property. */
    private java.lang.String volUnit;

    /** The value of the simple weight property. */
    private java.lang.Double weight;

    /** The value of the simple weightUnit property. */
    private java.lang.String weightUnit;

    /**
     * Simple constructor of AbstractTmsOrderDetailCargo instances.
     */
    public AbstractTmsOrderDetailCargo()
    {
    }

    /**
     * Constructor of AbstractTmsOrderDetailCargo instances given a simple primary key.
     * @param id
     */
    public AbstractTmsOrderDetailCargo(java.lang.Long id)
    {
        this.setId(id);
    }

    /**
     * Return the simple primary key value that identifies this object.
     * @return java.lang.Long
     */
    public java.lang.Long getId()
    {
        return id;
    }

    /**
     * Set the simple primary key value that identifies this object.
     * @param id
     */
    public void setId(java.lang.Long id)
    {
        this.hashValue = 0;
        this.id = id;
    }

    /**
     * Return the value of the order_id column.
     * @return TmsOrder
     */
    public TmsOrder getTmsOrder()
    {
        return this.tmsOrder;
    }

    /**
     * Set the value of the order_id column.
     * @param tmsOrder
     */
    public void setTmsOrder(TmsOrder tmsOrder)
    {
        this.tmsOrder = tmsOrder;
    }

    /**
     * Return the value of the cargo_id column.
     * @return java.lang.Long
     */
    public java.lang.Long getCargoId()
    {
        return this.cargoId;
    }

    /**
     * Set the value of the cargo_id column.
     * @param cargoId
     */
    public void setCargoId(java.lang.Long cargoId)
    {
        this.cargoId = cargoId;
    }

    /**
     * Return the value of the batch_number column.
     * @return java.lang.Long
     */
    public java.lang.Long getBatchNumber()
    {
        return this.batchNumber;
    }

    /**
     * Set the value of the batch_number column.
     * @param batchNumber
     */
    public void setBatchNumber(java.lang.Long batchNumber)
    {
        this.batchNumber = batchNumber;
    }

    /**
     * Return the value of the cargo_name column.
     * @return java.lang.String
     */
    public java.lang.String getCargoName()
    {
        return this.cargoName;
    }

    /**
     * Set the value of the cargo_name column.
     * @param cargoName
     */
    public void setCargoName(java.lang.String cargoName)
    {
        this.cargoName = cargoName;
    }

    /**
     * Return the value of the address column.
     * @return java.lang.String
     */
    public java.lang.String getAddress()
    {
        return this.address;
    }

    /**
     * Set the value of the address column.
     * @param address
     */
    public void setAddress(java.lang.String address)
    {
        this.address = address;
    }

    /**
     * Return the value of the amount column.
     * @return java.lang.Double
     */
    public java.lang.Double getAmount()
    {
        return this.amount;
    }

    /**
     * Set the value of the amount column.
     * @param amount
     */
    public void setAmount(java.lang.Double amount)
    {
        this.amount = amount;
    }

    /**
     * Return the value of the amount_unit column.
     * @return java.lang.String
     */
    public java.lang.String getAmountUnit()
    {
        return this.amountUnit;
    }

    /**
     * Set the value of the amount_unit column.
     * @param amountUnit
     */
    public void setAmountUnit(java.lang.String amountUnit)
    {
        this.amountUnit = amountUnit;
    }

    /**
     * Return the value of the vol column.
     * @return java.lang.Double
     */
    public java.lang.Double getVol()
    {
        return this.vol;
    }

    /**
     * Set the value of the vol column.
     * @param vol
     */
    public void setVol(java.lang.Double vol)
    {
        this.vol = vol;
    }

    /**
     * Return the value of the vol_unit column.
     * @return java.lang.String
     */
    public java.lang.String getVolUnit()
    {
        return this.volUnit;
    }

    /**
     * Set the value of the vol_unit column.
     * @param volUnit
     */
    public void setVolUnit(java.lang.String volUnit)
    {
        this.volUnit = volUnit;
    }

    /**
     * Return the value of the weight column.
     * @return java.lang.Double
     */
    public java.lang.Double getWeight()
    {
        return this.weight;
    }

    /**
     * Set the value of the weight column.
     * @param weight
     */
    public void setWeight(java.lang.Double weight)
    {
        this.weight = weight;
    }

    /**
     * Return the value of the weight_unit column.
     * @return java.lang.String
     */
    public java.lang.String getWeightUnit()
    {
        return this.weightUnit;
    }

    /**
     * Set the value of the weight_unit column.
     * @param weightUnit
     */
    public void setWeightUnit(java.lang.String weightUnit)
    {
        this.weightUnit = weightUnit;
    }

    /**
     * Implementation of the equals comparison on the basis of equality of the primary key values.
     * @param rhs
     * @return boolean
     */
    public boolean equals(Object rhs)
    {
        if (rhs == null)
            return false;
        if (! (rhs instanceof TmsOrderDetailCargo))
            return false;
        TmsOrderDetailCargo that = (TmsOrderDetailCargo) rhs;
        if (this.getId() == null || that.getId() == null)
            return false;
        return (this.getId().equals(that.getId()));
    }

    /**
     * Implementation of the hashCode method conforming to the Bloch pattern with
     * the exception of array properties (these are very unlikely primary key types).
     * @return int
     */
    public int hashCode()
    {
        if (this.hashValue == 0)
        {
            int result = 17;
            int idValue = this.getId() == null ? 0 : this.getId().hashCode();
            result = result * 37 + idValue;
            this.hashValue = result;
        }
        return this.hashValue;
    }
}

⌨️ 快捷键说明

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