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

📄 order.java

📁 shopping home JSP system
💻 JAVA
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   Order.java

package com.keyshop.shop.order.model;

import com.keyshop.pub.model.PubBean;
import com.keyshop.pub.util.DateUtil;
import java.util.*;

// Referenced classes of package com.keyshop.shop.order.model:
//            OrderAddress, OrderConsigneeAddress, OrderDetail

public class Order extends PubBean
{

    String serialNo;
    String orderDate;
    String shipType;
    String payType;
    String note;
    double totalCost;
    int productNumber;
    String creator;
    String status;
    OrderAddress orderAddress;
    OrderConsigneeAddress orderConsigneeAddress;
    Set childList;
    Set traces;
    String remessage;
    double integralAmount;
    int integral;
    int isIntegral;

    public Order()
    {
        orderDate = DateUtil.getSysDateTimeString();
        shipType = "";
        payType = "";
        note = "";
        totalCost = 0.0D;
        productNumber = 0;
        creator = "";
        status = "";
        orderAddress = new OrderAddress();
        orderConsigneeAddress = new OrderConsigneeAddress();
        childList = new HashSet();
        traces = new HashSet();
        remessage = "";
        integralAmount = 0.0D;
        integral = 0;
        isIntegral = 0;
    }

    public String getOrderString()
    {
        String orderString = "";
        if(childList != null && childList.size() > 0)
        {
            for(Iterator its = childList.iterator(); its.hasNext();)
            {
                OrderDetail detail = (OrderDetail)its.next();
                orderString = orderString + " " + detail.getProductName();
                orderString = orderString + "共" + detail.getQuantity() + "个";
            }

        }
        return orderString;
    }

    public String getCreator()
    {
        return creator;
    }

    public String getNote()
    {
        return note;
    }

    public OrderAddress getOrderAddress()
    {
        return orderAddress;
    }

    public String getOrderDate()
    {
        return orderDate;
    }

    public String getPayType()
    {
        return payType;
    }

    public String getShipType()
    {
        return shipType;
    }

    public void setShipType(String shipType)
    {
        this.shipType = shipType;
    }

    public void setPayType(String payType)
    {
        this.payType = payType;
    }

    public void setOrderDate(String orderDate)
    {
        this.orderDate = orderDate;
    }

    public void setOrderAddress(OrderAddress orderAddress)
    {
        this.orderAddress = orderAddress;
    }

    public void setNote(String note)
    {
        this.note = note;
    }

    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public Set getChildList()
    {
        return childList;
    }

    public void setChildList(Set childList)
    {
        this.childList = childList;
    }

    public OrderConsigneeAddress getOrderConsigneeAddress()
    {
        return orderConsigneeAddress;
    }

    public void setOrderConsigneeAddress(OrderConsigneeAddress orderConsigneeAddress)
    {
        this.orderConsigneeAddress = orderConsigneeAddress;
    }

    public Set getTraces()
    {
        return traces;
    }

    public void setTraces(Set traces)
    {
        this.traces = traces;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getSerialNo()
    {
        return serialNo;
    }

    public void setSerialNo(String serialNo)
    {
        this.serialNo = serialNo;
    }

    public int getProductNumber()
    {
        return productNumber;
    }

    public void setProductNumber(int productNumber)
    {
        this.productNumber = productNumber;
    }

    public double getTotalCost()
    {
        return totalCost;
    }

    public void setTotalCost(double totalCost)
    {
        this.totalCost = totalCost;
    }

    public String getRemessage()
    {
        return remessage;
    }

    public void setRemessage(String remessage)
    {
        this.remessage = remessage;
    }

    public int getIntegral()
    {
        return integral;
    }

    public double getIntegralAmount()
    {
        return integralAmount;
    }

    public void setIntegral(int integral)
    {
        this.integral = integral;
    }

    public void setIntegralAmount(double integralAmount)
    {
        this.integralAmount = integralAmount;
    }

    public int getIsIntegral()
    {
        return isIntegral;
    }

    public void setIsIntegral(int isIntegral)
    {
        this.isIntegral = isIntegral;
    }
}

⌨️ 快捷键说明

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