Update
parent
69c1ada7c3
commit
da97fe3671
|
|
@ -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('结算开始时间');
|
||||
|
|
|
|||
|
|
@ -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('结算开始时间');
|
||||
|
|
|
|||
Loading…
Reference in New Issue