﻿//代购信息
function PurchaseInfo()
{
    this.issue = "";
    this.isUploadMode = false;
    this.lotteryType = "";
    this.multiple = 1;
    this.numbers;
    this.numberMoneys;
    this.numberQuantities;
    this.numberTypes;
    this.purchaseWay = "";
    this.totalMoney = 0;
    this.totalQuantity = 0;
    this.uploadInfo;
}

//上传信息
function UploadInfo()
{
    this.filePath = "";
    this.money = 0;
    this.multiple = 1;
    this.quantity = 0;
    if (typeof UploadInfo._initialized == "undefined")
    {
        UploadInfo.prototype.GetFileExtension = function ()
        {
            return this.filePath.charAt(this.filePath.length - 1) + this.filePath.charAt(this.filePath.length - 2) + this.filePath.charAt(this.filePath.length - 3);
        }

        UploadInfo._initialized = true;
    }
}

//号码组信息
function NumberGroupInfo()
{
    this.descriptionText;
    this.majorChoiceWay;
    this.minorChoiceWay;
    this.numberText;
    this.numberInfos;
    this.totalQuantity;
}

//号码信息
function NumberInfo()
{
    this.number;
    this.quantity;
    this.type;
}
