#ifndef  ENTITY_SDAIPRODUCT_CATEGORY_RELATIONSHIP_H
#define  ENTITY_SDAIPRODUCT_CATEGORY_RELATIONSHIP_H

// This file was generated by exp2cxx,
// 0.8.1.
// You probably don't want to edit it since your modifications
// will be lost if exp2cxx is used to regenerate it.

class SC_SCHEMA_EXPORT SdaiProduct_category_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _category = NULL;
        SDAI_Application_instance_ptr _sub_category = NULL;
    public: 
        SdaiProduct_category_relationship();
        SdaiProduct_category_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiProduct_category_relationship( SdaiProduct_category_relationship & e );
        ~SdaiProduct_category_relationship();
        int opcode() {
            return 239;
        }
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

  const SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

        SdaiProduct_category_ptr_c category_() const;
        SdaiProduct_category_ptr   category_();
        void category_( const SdaiProduct_category_ptr x );

        SdaiProduct_category_ptr_c sub_category_() const;
        SdaiProduct_category_ptr   sub_category_();
        void sub_category_( const SdaiProduct_category_ptr x );

};

inline SdaiProduct_category_relationship * create_SdaiProduct_category_relationship() {
    return new SdaiProduct_category_relationship;
}

void init_SdaiProduct_category_relationship(Registry& reg);

namespace integrated_cnc_schema {
    extern EntityDescriptor *e_product_category_relationship;
    extern AttrDescriptor *a_326name;
    extern AttrDescriptor *a_327description;
    extern AttrDescriptor *a_328category;
    extern AttrDescriptor *a_329sub_category;
}

#endif
