feat: 发布智能体版

This commit is contained in:
augushong
2026-03-26 20:22:34 +08:00
parent 7ee9e102a5
commit 8cc08bcb8c
138 changed files with 7964 additions and 660 deletions

View File

@@ -8,7 +8,7 @@ use app\common\scheme\attribute\Field;
use app\common\scheme\attribute\Component;
use app\common\scheme\attribute\Index;
#[Table(name: 'ul_mall_goods', comment: '')]
#[Table(name: 'ul_mall_goods', comment: '商品列表')]
#[Index(columns: ['cate_id'], name: 'cate_id', type: 'NORMAL')]
#[Index(columns: ['delete_time'], name: 'delete_time', type: 'NORMAL')]
class MallGoods extends BaseScheme
@@ -25,7 +25,7 @@ class MallGoods extends BaseScheme
#[Field(type: 'char', length: 100, precision: 100, default: '', comment: '商品标签')]
public $tag;
#[Field(type: 'char', length: 255, precision: 255, comment: '商品logo')]
#[Field(type: 'char', length: 255, precision: 255, default: '', comment: '商品logo')]
#[Component(type: 'image', options: [])]
public $logo;
@@ -40,10 +40,10 @@ class MallGoods extends BaseScheme
#[Field(type: 'text', comment: '商品属性')]
public $property;
#[Field(type: 'decimal', length: 8, precision: 8, default: '0', comment: '市场价')]
#[Field(type: 'decimal', length: 8, precision: 8, scale: 2, default: '0.00', comment: '市场价')]
public $market_price;
#[Field(type: 'decimal', length: 8, precision: 8, default: '0', comment: '折扣价')]
#[Field(type: 'decimal', length: 8, precision: 8, scale: 2, default: '0.00', comment: '折扣价')]
public $discount_price;
#[Field(type: 'int', length: 11, default: '0', comment: '销量', unsigned: true)]
@@ -58,7 +58,7 @@ class MallGoods extends BaseScheme
#[Field(type: 'int', length: 11, default: '0', comment: '总库存', unsigned: true)]
public $total_stock;
#[Field(type: 'int', length: 11, default: '0', comment: '排序', unsigned: true)]
#[Field(type: 'int', length: 11, default: '100', comment: '排序', unsigned: true)]
public $sort;
#[Field(type: 'int', length: 11, default: '0', comment: '状态', unsigned: true)]
@@ -77,10 +77,10 @@ class MallGoods extends BaseScheme
#[Field(type: 'int', length: 11, default: '0', unsigned: true)]
public $delete_time;
#[Field(length: 300, precision: 300, nullable: false, default: '')]
#[Field(length: 100, precision: 100, nullable: false, default: '')]
public $license;
#[Field(length: 300, precision: 300, nullable: false, default: '')]
#[Field(length: 100, precision: 100, nullable: false, default: '')]
public $license_name;
#[Field(type: 'text', comment: '属性(静态字段)')]