package com.ruoyi.web.modules.goodsservice.domain;

import static org.junit.jupiter.api.Assertions.assertFalse;
import java.lang.reflect.Field;
import org.junit.jupiter.api.Test;

/**
 * GSV-UT-021：全平台目录无 shopId
 */
class BizGoodsServiceModelTest
{
    @Test
    void entity_hasNoShopIdField() throws Exception
    {
        boolean hasShopId = false;
        for (Field field : BizGoodsService.class.getDeclaredFields())
        {
            if ("shopId".equals(field.getName()))
            {
                hasShopId = true;
                break;
            }
        }
        assertFalse(hasShopId);
    }
}
