WIP
parent
ba2f05cb64
commit
b7d2405e69
|
|
@ -19,7 +19,7 @@ class CreateUserCouponsTable extends Migration
|
|||
$table->unsignedBigInteger('coupon_id')->comment('优惠ID');
|
||||
$table->string('coupon_name')->comment('优惠券名称');
|
||||
$table->tinyInteger('coupon_type')->default(0)->unsigned()->comment('优惠券类型:1抵扣券,2折扣券');
|
||||
$table->unsignedInteger('coupon_value')->default(0)->comment('抵扣金额:分/折扣(100)');
|
||||
$table->unsignedInteger('coupon_amount')->default(0)->comment('抵扣金额:分/折扣(100)');
|
||||
$table->unsignedBigInteger('coupon_threshold')->default(0)->comment('使用门槛金额:分');
|
||||
$table->timestamp('use_start_at')->comment('使用开始时间');
|
||||
$table->timestamp('use_end_at')->comment('使用结束时间');
|
||||
|
|
|
|||
Loading…
Reference in New Issue