'int', 'category_id' => 'int', 'category_name' => 'string', 'name' => 'string', 'price' => 'int', // 单位分 'create_time' => 'int', 'is_del' => 'int' ]; use SoftDelete; protected $deleteTime = 'is_del'; protected $defaultSoftDelete = 0; }