6
0
Fork 0
release
李静 2022-01-17 10:05:11 +08:00
parent 69c1ada7c3
commit da97fe3671
2 changed files with 4 additions and 4 deletions

View File

@ -18,8 +18,8 @@ class CreateDealerManagerSubsidiesTable extends Migration
$table->unsignedBigInteger('user_id')->comment('经销商的用户ID');
$table->tinyInteger('lvl')->comment('经销商等级');
$table->boolean('is_manager')->default(false)->comment('是否是管理者');
$table->unsignedDecimal('total_amount', 10, 2)->comment('总金额');
$table->unsignedDecimal('real_amount', 10, 2)->comment('实际金额=总金额-手续费');
$table->unsignedDecimal('total_amount', 10, 2)->default(0)->comment('总金额');
$table->unsignedDecimal('real_amount', 10, 2)->default(0)->comment('实际金额=总金额-手续费');
$table->unsignedDecimal('fee', 10, 2)->default(0)->comment('手续费');
$table->unsignedDecimal('fee_rate', 4, 2)->default(0)->comment('手续费率(百分比)');
$table->timestamp('start_at')->comment('结算开始时间');

View File

@ -18,8 +18,8 @@ class CreateDealerManageSubsidiesTable extends Migration
$table->unsignedBigInteger('user_id')->comment('经销商的用户ID');
$table->tinyInteger('lvl')->comment('经销商等级');
$table->boolean('is_manager')->default(false)->comment('是否是管理者');
$table->unsignedDecimal('total_amount', 10, 2)->comment('总金额');
$table->unsignedDecimal('real_amount', 10, 2)->comment('实际金额=总金额-手续费');
$table->unsignedDecimal('total_amount', 10, 2)->default(0)->comment('总金额');
$table->unsignedDecimal('real_amount', 10, 2)->default(0)->comment('实际金额=总金额-手续费');
$table->unsignedDecimal('fee', 10, 2)->default(0)->comment('手续费');
$table->unsignedDecimal('fee_rate', 4, 2)->default(0)->comment('手续费率(百分比)');
$table->timestamp('start_at')->comment('结算开始时间');