# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html
import scrapy


class ChinaIntroItem(scrapy.Item):
    file_name = scrapy.Field()
    file_path = scrapy.Field()
    doc_source_url = scrapy.Field()
    company_name = scrapy.Field()
    company_code = scrapy.Field()
    end_date = scrapy.Field()
    fomer_name = scrapy.Field()
    status = scrapy.Field()

    #company item
    plate_type = scrapy.Field()
    code = scrapy.Field()
    name_origin = scrapy.Field()
    name_en = scrapy.Field()
    security_code = scrapy.Field()
    country_code_listed = scrapy.Field()
    country_code_origin = scrapy.Field()
    exchange_market_code = scrapy.Field()
    ipo_date = scrapy.Field()
    currency_code = scrapy.Field()
    status = scrapy.Field()
    website_url = scrapy.Field()
    gmt_create = scrapy.Field()
    user_create = scrapy.Field()

    #detail item_value_shanghai
    company_short_name_zh = scrapy.Field()
    company_short_name_en = scrapy.Field()
    registered_address = scrapy.Field()
    mailing_address = scrapy.Field()
    legal_representative = scrapy.Field()
    secretary_name = scrapy.Field()
    e_mail = scrapy.Field()
    phone_number = scrapy.Field()
    CSRC_industry = scrapy.Field()
    SSE_industry = scrapy.Field()
    district_belong_to = scrapy.Field()
    is_SSE_180_sample_stock = scrapy.Field()
    is_overseas_listing = scrapy.Field()
    overseas_listing_land = scrapy.Field()
    convertible_bonds_for_short = scrapy.Field()
    # detail item_title_shanghai
    company_short_name_zh_title = scrapy.Field()
    company_short_name_en_title = scrapy.Field()
    registered_address_title = scrapy.Field()
    mailing_address_title = scrapy.Field()
    legal_representative_title = scrapy.Field()
    secretary_name_title = scrapy.Field()
    e_mail_title = scrapy.Field()
    phone_number_title = scrapy.Field()
    CSRC_industry_title = scrapy.Field()
    SSE_industry_title = scrapy.Field()
    district_belong_to_title = scrapy.Field()
    is_SSE_180_sample_stock_title = scrapy.Field()
    is_overseas_listing_title = scrapy.Field()
    overseas_listing_land_title = scrapy.Field()
    convertible_bonds_for_short_title = scrapy.Field()

    #detail item title shenzhen
    industry_title = scrapy.Field()
    Total_share_capital_of_A_shares_title = scrapy.Field()
    A_shares_circulating_capital_title = scrapy.Field()
    #registered_address_title = scrapy.Field()
    #company_short_name_zh_title = scrapy.Field()
    #district_belong_to_title = scrapy.Field()

    #detail item value shenzhen
    industry = scrapy.Field()
    Total_share_capital_of_A_shares = scrapy.Field()
    A_shares_circulating_capital = scrapy.Field()
    #registered_address = scrapy.Field()
    #company_short_name_zh = scrapy.Field()
    #district_belong_to = scrapy.Field()

    #新加
    #file_name = scrapy.Field()
    #file_path = scrapy.Field()
    #doc_source_url = scrapy.Field()

    country_code = scrapy.Field()
    #exchange_market_code = scrapy.Field()
    #company_code = scrapy.Field()
    fiscal_year = scrapy.Field()
    financial_statement_type_code = scrapy.Field()
    financial_statement_season_type_code = scrapy.Field()
    financial_reporting_standard_code = scrapy.Field()
    disclosure_date = scrapy.Field()
    start_date = scrapy.Field()
    end_date = scrapy.Field()
    language_written_code = scrapy.Field()
    doc_type = scrapy.Field()
    #doc_source_url = scrapy.Field()
    is_doc_url_direct = scrapy.Field()
    doc_local_path = scrapy.Field()
    doc_downloaded_timestamp = scrapy.Field()
    is_downloaded = scrapy.Field()
    #currency_code = scrapy.Field()
    is_consolidated = scrapy.Field()
    version = scrapy.Field()
    #gmt_create = scrapy.Field()
    #user_create = scrapy.Field()
    gmt_update = scrapy.Field()
    user_update = scrapy.Field()
    report_id = scrapy.Field()

    college_name = scrapy.Field()
    training_date = scrapy.Field()
    training_num = scrapy.Field()
    gender = scrapy.Field()
    age = scrapy.Field()
    education = scrapy.Field()
    discipline = scrapy.Field()
    job_title = scrapy.Field()
    recent_training_date = scrapy.Field()
    belong_2_type = scrapy.Field()
    punish_date = scrapy.Field()
    agency_name = scrapy.Field()
    agency_type = scrapy.Field()
    litigant = scrapy.Field()
    punish_type = scrapy.Field()
    release_sale_date = scrapy.Field()
    release_sale_shareholder_num = scrapy.Field()
    release_sale_stock_num = scrapy.Field()
    release_sale_stock_rate = scrapy.Field()
    shareholder_name = scrapy.Field()
    managed_member_name = scrapy.Field()
    bcpljcgf_num = scrapy.Field()
    bcpljcgf_rate = scrapy.Field()
    tgdzjyjc_num = scrapy.Field()
    tgdzjyjc_rate = scrapy.Field()
    jchrcygf_num = scrapy.Field()
    jchrcygf_rate = scrapy.Field()
    detail_type = scrapy.Field()
    announcement_type = scrapy.Field()

    company_profile_HCK = scrapy.Field()
    Issued_Shares_HCK = scrapy.Field()
    Industry_HCK = scrapy.Field()
    Listing_Date_HCK = scrapy.Field()
    Financial_Year_HCK = scrapy.Field()
    Chairman_HCK = scrapy.Field()
    Principal_Office_HCK = scrapy.Field()
    Place_of_Incorporation_HCK = scrapy.Field()
    Listing_Category_HCK = scrapy.Field()
    Registrar_HCK = scrapy.Field()
    company_profile = scrapy.Field()
    Issued_Shares = scrapy.Field()
    Industry = scrapy.Field()
    Listing_Date = scrapy.Field()
    Financial_Year = scrapy.Field()
    Chairman = scrapy.Field()
    Principal_Office = scrapy.Field()
    Place_of_Incorporation = scrapy.Field()
    Listing_Category = scrapy.Field()
    Registrar = scrapy.Field()
    Date_Announced = scrapy.Field()
    Ex_Date = scrapy.Field()
    Details = scrapy.Field()
    Financial_Year_End = scrapy.Field()
    Book_Close_Date = scrapy.Field()
    Payment_Date = scrapy.Field()
    Date_Announced_HCK = scrapy.Field()
    Ex_Date_HCK = scrapy.Field()
    Details_HCK = scrapy.Field()
    Financial_Year_End_HCK = scrapy.Field()
    Book_Close_Date_HCK = scrapy.Field()
    Payment_Date_HCK = scrapy.Field()
    entitlement = scrapy.Field()
    entitlement_HCK = scrapy.Field()
