6
0
Fork 0
release
李静 2021-12-16 11:07:27 +08:00
parent ba2f05cb64
commit b7d2405e69
1 changed files with 1 additions and 1 deletions

View File

@ -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('使用结束时间');