
#import "total_objc_json_client.h"

@implementation BeanOperator
@synthesize operId;
@synthesize operName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation OperateInfo
@synthesize time;
@synthesize operator;
@synthesize enterprise;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation Operator
@synthesize operName;
@synthesize fid;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


@end

@implementation UCN
@synthesize code;
@synthesize uuid;
@synthesize name;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation PEntity
@synthesize uuid;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation POperator
@synthesize operName;
@synthesize fid;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


@end

@implementation QueryCondition
@synthesize parameters;
@synthesize operation;
@synthesize parameter;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation QueryOrder
@synthesize field;
@synthesize direction;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation QueryResult
@synthesize page;
@synthesize paging;
@synthesize pageCount;
@synthesize recordCount;
@synthesize records;
@synthesize pageSize;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation QueryDefinition2
@synthesize conditions;
@synthesize pageNumber;
@synthesize orders;
@synthesize pageSize;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DateTimeRange
@synthesize beginDateTime;
@synthesize endDateTime;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

NSString * const BILLSTATE_INITIAL = @"initial";
NSString * const BILLSTATE_SUBMIT = @"submit";
NSString * const BILLSTATE_ACCOMPLISHED = @"accomplished";


NSString * const CONTRACTLOGACTIONTYPE_ADD = @"add";
NSString * const CONTRACTLOGACTIONTYPE_SUB = @"sub";


NSString * const CONTRACTLOGSOURCETYPE_PICKINGBILL = @"pickingbill";
NSString * const CONTRACTLOGSOURCETYPE_RECEIVEBILL = @"receivebill";


NSString * const CONTRACTLOGQUANTITYTYPE_VIRTUAL = @"virtual";
NSString * const CONTRACTLOGQUANTITYTYPE_REAL = @"real";


NSString * const DEPOTBILLSTATE_INITIAL = @"initial";
NSString * const DEPOTBILLSTATE_SUBMIT = @"submit";
NSString * const DEPOTBILLSTATE_CANCELED = @"canceled";
NSString * const DEPOTBILLSTATE_EFFECTIVED = @"effectived";
NSString * const DEPOTBILLSTATE_ACCOMPLISHED = @"accomplished";


NSString * const PAYMETHOD_CASH = @"cash";
NSString * const PAYMETHOD_CHEQUE = @"cheque";
NSString * const PAYMETHOD_TRANSFER = @"transfer";


NSString * const CONTRACTSTATE_SAVE = @"save";
NSString * const CONTRACTSTATE_SUBMIT = @"submit";
NSString * const CONTRACTSTATE_CLOSE = @"close";


NSString * const DEPOTTYPE_GENERAL = @"general";
NSString * const DEPOTTYPE_SPECIAL = @"special";


@implementation AreaMap
@synthesize area;
@synthesize childrenUnits;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

NSString * const DEPOTREQUESTBILLSTATE_INITIAL = @"initial";
NSString * const DEPOTREQUESTBILLSTATE_SUBMIT = @"submit";
NSString * const DEPOTREQUESTBILLSTATE_CANCELED = @"canceled";
NSString * const DEPOTREQUESTBILLSTATE_EFFECTIVED = @"effectived";
NSString * const DEPOTREQUESTBILLSTATE_ACCOMPLISHED = @"accomplished";


@implementation QueryResultPaging
@synthesize page;
@synthesize pageSize;
@synthesize recordCount;
@synthesize pageCount;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

NSString * const QUERYORDERDIRECTION_ASC = @"asc";
NSString * const QUERYORDERDIRECTION_DESC = @"desc";


NSString * const TRANSINFOTYPE_SELFSHIPPING = @"selfShipping";
NSString * const TRANSINFOTYPE_DIRECTSENDING = @"directSending";


NSString * const OPERATINGTYPE_SELFSUPPORT = @"selfSupport";
NSString * const OPERATINGTYPE_LEAGUE = @"league";


NSString * const STORESTATE_INEFFECTIVE = @"ineffective";
NSString * const STORESTATE_EFFECTIVE = @"effective";
NSString * const STORESTATE_INVALID = @"invalid";


@implementation QueryDefinition
@synthesize limit;
@synthesize orders;
@synthesize offset;
@synthesize conditions;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

NSString * const ORDERBILLSTATE_INITIAL = @"initial";
NSString * const ORDERBILLSTATE_SUBMIT = @"submit";
NSString * const ORDERBILLSTATE_CANCELED = @"canceled";
NSString * const ORDERBILLSTATE_SHIPPING = @"shipping";
NSString * const ORDERBILLSTATE_SHIPPED = @"shipped";
NSString * const ORDERBILLSTATE_ACCOMPLISHED = @"accomplished";


NSString * const PICKINGBILLSTATE_INITIAL = @"initial";
NSString * const PICKINGBILLSTATE_SUBMIT = @"submit";
NSString * const PICKINGBILLSTATE_ACCOMPLISHED = @"accomplished";


NSString * const ORDERBILLDTLSTATE_INITIAL = @"initial";
NSString * const ORDERBILLDTLSTATE_SHIPPING = @"shipping";
NSString * const ORDERBILLDTLSTATE_ACCOMPLISHED = @"accomplished";


NSString * const PRICECATEGORY_SALEPRICE = @"salePrice";
NSString * const PRICECATEGORY_GENERALTRADEPRICE = @"generalTradePrice";
NSString * const PRICECATEGORY_SPECTRADEPRICE = @"specTradePrice";
NSString * const PRICECATEGORY_INTERALSHIPPINGPRICE = @"interalShippingPrice";


@implementation GasMeasureValue
@synthesize capacity;
@synthesize quality;
@synthesize density;
@synthesize volume;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

NSString * const RECEIVEBILLSTATE_INITIAL = @"initial";
NSString * const RECEIVEBILLSTATE_SUBMIT = @"submit";


NSString * const RECEIVEBILLEXPOTSTATE_NOEXPOT = @"noExpot";
NSString * const RECEIVEBILLEXPOTSTATE_EXPORTENVIN = @"exportEnvIn";
NSString * const RECEIVEBILLEXPOTSTATE_EXPORTSALE = @"exportSale";
NSString * const RECEIVEBILLEXPOTSTATE_EXPORTPICKING = @"exportPicking";
NSString * const RECEIVEBILLEXPOTSTATE_EXPORTENVOUT = @"exportEnvOut";


NSString * const REMINDTYPE_CONTRACTNUMBER = @"contractNumber";


NSString * const FUELPRICESTATE_INITIAL = @"initial";
NSString * const FUELPRICESTATE_SUBMIT = @"submit";


@implementation POperateInfo
@synthesize operator;
@synthesize time;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsOperateInfo
@synthesize operId;
@synthesize operName;
@synthesize time;
@synthesize enterprise;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation OperateInfo2
@synthesize time;
@synthesize operator;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

NSString * const POSITIONTYPE_MANAGER = @"manager";
NSString * const POSITIONTYPE_INSPECTOR = @"inspector";
NSString * const POSITIONTYPE_STORER = @"storer";
NSString * const POSITIONTYPE_ENGINEER = @"engineer";
NSString * const POSITIONTYPE_PURCHASEMAN = @"purchaseMan";
NSString * const POSITIONTYPE_PURCHASER = @"purchaser";
NSString * const POSITIONTYPE_VENDOR = @"vendor";
NSString * const POSITIONTYPE_NONE = @"none";


@implementation Entity
@synthesize uuid;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation BeanOperateInfo
@synthesize time;
@synthesize operator;
@synthesize enterprise;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation GasFueler
@synthesize code;
@synthesize name;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation GasTransInfo
@synthesize store;
@synthesize item;
@synthesize type;
@synthesize depot;
@synthesize provider;
@synthesize fueler;
@synthesize level;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DeliveryArea
@synthesize code;
@synthesize name;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation Carrier
@synthesize code;
@synthesize name;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation GasDepot
@synthesize code;
@synthesize name;
@synthesize longitude;
@synthesize latitude;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation BasicBillDtl
@synthesize lineNumber;
@synthesize createInfo;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation StandardEntity2
@synthesize version;
@synthesize createInfo;
@synthesize lastModifyInfo;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation Area
@synthesize code;
@synthesize name;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation PStandardEntity
@synthesize lastModifyInfo;
@synthesize createInfo;
@synthesize version;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation GasItem
@synthesize code;
@synthesize name;
@synthesize minDensity;
@synthesize maxDensity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation GasTank
@synthesize code;
@synthesize name;
@synthesize store;
@synthesize item;
@synthesize capacity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation StandardEntity
@synthesize createInfo;
@synthesize version;
@synthesize lastModifyInfo;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation OrderBillDtl
@synthesize item;
@synthesize quantity;
@synthesize state;
@synthesize pickingBillNumber;
@synthesize pickedTime;
@synthesize receiveTime;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation FuelPrice
@synthesize state;
@synthesize category;
@synthesize item;
@synthesize guidancePrice;
@synthesize salePrice;
@synthesize effectiveTime;
@synthesize shipTime;
@synthesize area;
@synthesize deliveryArea;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ReceiveTankDtl
@synthesize tank;
@synthesize measureBeforeUnload;
@synthesize measureAfterUnload;
@synthesize measureOnSale;
@synthesize measureCalc;
@synthesize measureBill;
@synthesize measureRealDelivery;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation PEnterpriseEntity
@synthesize enterprise;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DepotPickingDtl
@synthesize qty;
@synthesize amount;
@synthesize pickingBillNumber;
@synthesize pickingTime;
@synthesize remark;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation EnterpriseEntity2
@synthesize enterprise;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation Role
@synthesize name;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DepotBillPayDtl
@synthesize payMethod;
@synthesize total;
@synthesize payTicket;
@synthesize payTime;
@synthesize remark;
@synthesize effectived;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation EnterpriseEntity
@synthesize enterprise;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation Store
@synthesize company;
@synthesize code;
@synthesize name;
@synthesize opendate;
@synthesize address;
@synthesize mobile;
@synthesize email;
@synthesize status;
@synthesize longitude;
@synthesize latitude;
@synthesize operationArea;
@synthesize area;
@synthesize deliveryArea;
@synthesize operatingType;
@synthesize gasUser;
@synthesize state;
@synthesize consumerCode;
@synthesize buyOrg;
@synthesize companyCode;
@synthesize factory;
@synthesize days;
@synthesize hours;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation BasicEnterpriseBill2
@synthesize billnumber;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation User
@synthesize state;
@synthesize belongOrg;
@synthesize businessType;
@synthesize name;
@synthesize login;
@synthesize password;
@synthesize address;
@synthesize remark;
@synthesize position;
@synthesize mobile;
@synthesize email;
@synthesize roles;
@synthesize organizations;
@synthesize enabled;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation Organization
@synthesize orgType;
@synthesize shortName;
@synthesize name;
@synthesize enabled;
@synthesize isLeaf;
@synthesize contact;
@synthesize attachmentId;
@synthesize storeType;
@synthesize address;
@synthesize upper;
@synthesize authentication;
@synthesize namePath;
@synthesize phone;
@synthesize code;
@synthesize path;
@synthesize level;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation PBasicEnterpriseBill
@synthesize billnumber;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation PickingBill
@synthesize org;
@synthesize orderBill;
@synthesize orderBillDtl;
@synthesize state;
@synthesize store;
@synthesize operatingType;
@synthesize item;
@synthesize quantity;
@synthesize depot;
@synthesize pickType;
@synthesize provider;
@synthesize fueler;
@synthesize receiveTime;
@synthesize contractNumber;
@synthesize remark;
@synthesize price;
@synthesize total;
@synthesize expotState;
@synthesize excelState;
@synthesize carrier;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ReceiveBill
@synthesize state;
@synthesize expotState;
@synthesize store;
@synthesize org;
@synthesize operatingType;
@synthesize orderBillNumber;
@synthesize pickingBillNumber;
@synthesize provider;
@synthesize fueler;
@synthesize depot;
@synthesize item;
@synthesize truckNo;
@synthesize carter;
@synthesize carterMobile;
@synthesize billMeasure;
@synthesize realMeasure;
@synthesize remark;
@synthesize tankDtls;
@synthesize receiveTime;
@synthesize realReceiveTime;
@synthesize serviceNumber;
@synthesize pickFuelDensity;
@synthesize pickFuelDensityCapacity;
@synthesize wasterCapacity;
@synthesize receiveBusinessDate;
@synthesize wasterRate;
@synthesize carrier;
@synthesize price;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation Remind
@synthesize remindType;
@synthesize receiver;
@synthesize phoneNumber;
@synthesize email;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RemindLog
@synthesize fueler;
@synthesize receiverNumber;
@synthesize context;
@synthesize result;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TotalOption
@synthesize optionKey;
@synthesize optionValue;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation POBill
@synthesize state;
@synthesize billType;
@synthesize buyBillTime;
@synthesize provider;
@synthesize buyOrg;
@synthesize buyGroup;
@synthesize org;
@synthesize storeBuyBillCode;
@synthesize buyContract;
@synthesize buyContractRowProject;
@synthesize projectPickType;
@synthesize materiel;
@synthesize shortText;
@synthesize buyBillQuantity;
@synthesize basicUtils;
@synthesize netPrice;
@synthesize currency;
@synthesize materielGroup;
@synthesize factory;
@synthesize orderBill;
@synthesize asset;
@synthesize secondaryCode;
@synthesize needFollowingBill;
@synthesize goodsReceiveSign;
@synthesize SLEDSign;
@synthesize materielTicketCycle;
@synthesize generalLedgerAccounts;
@synthesize costCenter;
@synthesize deliveryTime;
@synthesize frameContract;
@synthesize mainContractProject;
@synthesize buyEvidence;
@synthesize project;
@synthesize fnews;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"news": @"fnews",
                                                       }];
}


@end

@implementation OrderBill
@synthesize org;
@synthesize state;
@synthesize store;
@synthesize quantity;
@synthesize remark;
@synthesize dtls;
@synthesize operatingType;
@synthesize price;
@synthesize deliveryArea;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation CarryInfo
@synthesize depot;
@synthesize store;
@synthesize fueler;
@synthesize item;
@synthesize carrier;
@synthesize price;
@synthesize level;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DepotRequestBill
@synthesize state;
@synthesize type;
@synthesize deliveryArea;
@synthesize org;
@synthesize item;
@synthesize deliveryTime;
@synthesize reqPrice;
@synthesize quantity;
@synthesize remark;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ContractNumber
@synthesize fueler;
@synthesize deliveryArea;
@synthesize minQuantity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DepotInv
@synthesize type;
@synthesize depotBillUuid;
@synthesize depotBillNumber;
@synthesize org;
@synthesize item;
@synthesize deliveryTime;
@synthesize total;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DepotBill
@synthesize state;
@synthesize type;
@synthesize requestBill;
@synthesize org;
@synthesize deliveryArea;
@synthesize item;
@synthesize shipTime;
@synthesize price;
@synthesize quantity;
@synthesize amount;
@synthesize payTime;
@synthesize payDtls;
@synthesize pickingDtls;
@synthesize remark;
@synthesize unpayAmount;
@synthesize undepotInv;
@synthesize payMarginAmount;
@synthesize total;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ContractLog
@synthesize actionType;
@synthesize quantityType;
@synthesize sourceType;
@synthesize contractBillNumber;
@synthesize sourceBillNumber;
@synthesize beforeTotal;
@synthesize subTotal;
@synthesize nowTotal;
@synthesize billState;
@synthesize store;
@synthesize operatingType;
@synthesize item;
@synthesize depot;
@synthesize provider;
@synthesize fueler;
@synthesize carrier;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation Contract
@synthesize state;
@synthesize fueler;
@synthesize deliveryArea;
@synthesize item;
@synthesize quantity;
@synthesize realQuantity;
@synthesize level;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

