new DAL\
ReferenceVersionField('product', 'top_seller_restrict_version_id'
))->
addFlags(new Required()),
new DAL\
FkField('top_seller_restrict_id', 'topSellerRestrictId', 'product', 'id'
),
new DAL\
ManyToOneAssociationField('topSellerCascade', 'top_seller_cascade_id', 'product', 'id'
),
(new DAL\
ReferenceVersionField('product', 'top_seller_cascade_version_id'
))->
addFlags(new Required()),
(new DAL\
FkField('top_seller_cascade_id', 'topSellerCascadeId', 'product', 'id'
))->
addFlags(new Required()),
new DAL\
ManyToOneAssociationField('topSellerSetNull', 'top_seller_set_null_id', 'product', 'id'
),
(new DAL\
ReferenceVersionField('product', 'top_seller_set_null_version_id'
))->
addFlags(new Required()),
new DAL\
FkField('top_seller_set_null_id', 'topSellerSetNullId', 'product', 'id'
),
(new DAL\
OneToManyAssociationField('linksRestrict', 'category', 'custom_entity_blog_links_restrict_id', 'id'
))->
addFlags(new DAL\Flag\
RestrictDelete()),
(new DAL\
OneToManyAssociationField('linksSetNull', 'category', 'custom_entity_blog_links_set_null_id', 'id'
))->
addFlags(new DAL\Flag\
SetNullOnDelete()),
(new DAL\
OneToManyAssociationField('comments', 'ce_blog_comment', 'custom_entity_blog_comments_id', 'id'
))->
addFlags(new DAL\Flag\
CascadeDelete()),
(new ManyToManyAssociationField('inheritedProducts', 'product', 'custom_entity_blog_inherited_products', 'custom_entity_blog_id', 'product_id', 'id', 'id'
))->
addFlags(new DAL\Flag\
CascadeDelete(),
new DAL\Flag\
ReverseInherited('customEntityBlogInheritedProducts'
)),
new FkField('inherited_top_seller_id', 'inheritedTopSellerId', 'product', 'id'
),
(new DAL\
ManyToOneAssociationField('inheritedTopSeller', 'inherited_top_seller_id', 'product', 'id'
))->
addFlags(new DAL\Flag\
ReverseInherited('customEntityBlogInheritedTopSeller'
)),
],
'custom_entity_blog_translation' =>
[ (