text: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import json
  
  from alipay.aop.api.constant.ParamConstants import *
  
  
  class AntMerchantOrderStoreBatchqueryModel(object):
  
      def __init__(self):
          self._end_time = None
          self._order_status = None
          self._page_no = None
          self._page_size = None
          self._scene = None
          self._shop_id = None
          self._start_time = None
          self._store_open_id = None
  
      @property
      def end_time(self):
          return self._end_time
  
      @end_time.setter
      def end_time(self, value):
          self._end_time = value
      @property
      def order_status(self):
          return self._order_status
  
      @order_status.setter
      def order_status(self, value):
          self._order_status = value
      @property
      def page_no(self):
          return self._page_no
  
      @page_no.setter
      def page_no(self, value):
          self._page_no = value
      @property
      def page_size(self):
          return self._page_size
  
      @page_size.setter
      def page_size(self, value):
          self._page_size = value
      @property
      def scene(self):
          return self._scene
  
      @scene.setter
      def scene(self, value):
          self._scene = value
      @property
      def shop_id(self):
          return self._shop_id
  
      @shop_id.setter
      def shop_id(self, value):
          self._shop_id = value
      @property
      def start_time(self):
          return self._start_time
  
      @start_time.setter
      def start_time(self, value):
          self._start_time = value
      @property
      def store_open_id(self):
          return self._store_open_id
  
      @store_open_id.setter
      def store_open_id(self, value):
          self._store_open_id = value
  
  
      def to_alipay_dict(self):
          params = dict()
          if self.end_time:
              if hasattr(self.end_time, 'to_alipay_dict'):
                  params['end_time'] = self.end_time.to_alipay_dict()
              else:
                  params['end_time'] = self.end_time
          if self.order_status:
              if hasattr(self.order_status, 'to_alipay_dict'):
                  params['order_status'] = self.order_status.to_alipay_dict()
              else:
                  params['order_status'] = self.order_status
          if self.page_no:
              if hasattr(self.page_no, 'to_alipay_dict'):
                  params['page_no'] = self.page_no.to_alipay_dict()
              else:
                  params['page_no'] = self.page_no
          if self.page_size:
              if hasattr(self.page_size, 'to_alipay_dict'):
                  params['page_size'] = self.page_size.to_alipay_dict()
              else:
                  params['page_size'] = self.page_size
          if self.scene:
              if hasattr(self.scene, 'to_alipay_dict'):
                  params['scene'] = self.scene.to_alipay_dict()
              else:
                  params['scene'] = self.scene
          if self.shop_id:
              if hasattr(self.shop_id, 'to_alipay_dict'):
                  params['shop_id'] = self.shop_id.to_alipay_dict()
              else:
                  params['shop_id'] = self.shop_id
          if self.start_time:
              if hasattr(self.start_time, 'to_alipay_dict'):
                  params['start_time'] = self.start_time.to_alipay_dict()
              else:
                  params['start_time'] = self.start_time
          if self.store_open_id:
              if hasattr(self.store_open_id, 'to_alipay_dict'):
                  params['store_open_id'] = self.store_open_id.to_alipay_dict()
              else:
                  params['store_open_id'] = self.store_open_id
          return params
  
      @staticmethod
      def from_alipay_dict(d):
          if not d:
              return None
          o = AntMerchantOrderStoreBatchqueryModel()
          if 'end_time' in d:
              o.end_time = d['end_time']
          if 'order_status' in d:
              o.order_status = d['order_status']
          if 'page_no' in d:
              o.page_no = d['page_no']
          if 'page_size' in d:
              o.page_size = d['page_size']
          if 'scene' in d:
              o.scene = d['scene']
          if 'shop_id' in d:
              o.shop_id = d['shop_id']
          if 'start_time' in d:
              o.start_time = d['start_time']
          if 'store_open_id' in d:
              o.store_open_id = d['store_open_id']
          return o
  
  
  