code: def create_entity(uid='', path='', desc='', kind='1'):
          '''
          create entity record in the database.
          '''
  
          if path:
              pass
          else:
              return False
  
          if uid:
              pass
          else:
              uid = get_uuid()
          try:
              TabEntity.create(
                  uid=uid,
                  path=path,
                  desc=desc,
                  time_create=time.time(),
                  kind=kind
              )
              return True
          except:
              return Falsf create_entity(uid='', path='', desc='', kind='1'):
          '''
          create entity record in the database.
          '''
  
          if path:
              pass
          else:
              return False
  
          if uid:
              pass
          else:
              uid = get_uuid()
          try:
              TabEntity.create(
                  uid=uid,
                  path=path,
                  desc=desc,
                  time_create=time.time(),
                  kind=kind
              )
              return True
          except:
              return False
docs: create entity record in the database.