CaiWuXiTong/app/Models/Business/JstOrderLabel.php
qiuxiang e5d6c76f27 账单流水数据新增聚水潭订单标签明细页
新增「账单流水数据 › 聚水潭订单标签明细」(紧邻种菜明细表):四列(线上订单号/店铺名称/下单时间/标签),按标签拆行(一个标签一行)、订单不去重、标签不汇总,无标签订单记为「(无标签)」。新增 jst_order_labels 表(含公司/时间/标签/店铺索引)、JstOrderLabel 模型、JstOrderLabelImporter(从镜像 ops_jst_orders 按区间拆行导入,--replace 只清同区间)与 jst-order-labels:import 命令、导出路由与用例。页面筛选:下单时间区间(点整块开日历、可单独清除)、店铺、标签、线上订单号。
2026-09-30 16:40:16 +08:00

27 lines
481 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Models\Business;
use App\Abstracts\Model;
/**
* 账单流水数据 › 聚水潭订单标签明细(按标签拆行,一标签一行)。
*/
class JstOrderLabel extends Model
{
protected $table = 'jst_order_labels';
protected $fillable = [
'company_id',
'order_no',
'shop_name',
'ordered_at',
'label',
'created_from',
];
protected $casts = [
'ordered_at' => 'datetime',
];
}