['type' => 'uBigint', 'title' => '代理商'], 'product_id' => ['type' => 'string', 'title' => '商品id'], 'share_profit' => ['type' => 'string', 'title' => '分润'], 'download_url' => ['type' => 'text', 'title' => '专有软件包'], 'statistics_flag' => ['type' => 'string_20', 'title' => '统计的标志,固定到软件里,同一类产品,可以统计不用标签'], 'desc' => ['type' => 'text', 'title' => '描述'], ]; } /** * 初始化内容 */ public function init() { } /** * Run the database seeds. * * @return void */ public function run() { $this->schema = 'agent_product'; $this->title = '代理商关联产品表'; $this->start(); } }