<?php

/**
 * Object represents table 'bills'
 *
 * @author: http://phpdao.com
 * @date: 2016-06-21 11:00
 */
class Bill {

    var $id;
    var $clientid;
    var $receivedate;
    var $billno;
    var $comment;
    var $billdate;
    var $kashfid;
    var $cash;
    var $cashvalue;
    var $waitvalue;
    var $insurance;
    var $insurancecompanyid;
    var $customerpercent;
    var $customermax;
    var $customercarry;
    var $companyaccept;
    var $companycarry;
    var $card;
    var $cardvalue;
    var $paymentnetworkid;
    var $userid;
    var $deleted;
    var $kashftype;
    var $alloweddays;
    var $productstotalprice;
    var $kashfvalue;
    var $kashfdiscount;
    var $netbillvalue;
    var $discounttype;
    var $discountvalue;
    var $finalnetbillvalue;
    var $offline;
    var $uploaddate;
    var $pricetype;
    var $billstatus;
    var $approvalno;
    var $deliverytime;
    var $kashfplace;
    var $kashfdate;
    var $dailyentryid;
    var $insdiscountpercent;
    var $clientPayReceiptVal;
    var $netdiscountpercent;
    var $branchid;
    var $serverdate;
    var $rondomtxt;
    var $attatch;
    var $approved;
    var $saveid;
    var $approveNo;
    var $approveFile;
    var $notifSeen;
    var $payType;
    #####################################
    var $clientname;
    var $companyname;
    var $networkname;
    var $username;
    var $sellbillfinalbill;
    var $theDate;
    var $clientareaid;
    var $totalAccept;
    var $totalDiscount;
    var $totalCarry;
    var $totalNet;
    var $returnprice;
    var $returnvalue;
    var $totaldiscount;
    // m7md

    var $sumBillQuantity;
    var $sumBilltotalbill;
    var $sumBillDiscount;
    var $productid;
    var $productName;
    var $productCatName;

}

?>