fix(scheme): MallGoods 价格字段去除冗余 length 声明消除 sync 振荡

This commit is contained in:
augushong
2026-10-12 10:42:49 +00:00
parent f03e06276c
commit 3e465bf027

View File

@@ -40,10 +40,10 @@ class MallGoods extends BaseScheme
#[Field(type: 'text', comment: '商品属性')]
public $property;
#[Field(type: 'decimal', length: 8, precision: 8, scale: 2, default: '0.00', comment: '市场价')]
#[Field(type: 'decimal', precision: 8, scale: 2, default: '0.00', comment: '市场价')]
public $market_price;
#[Field(type: 'decimal', length: 8, precision: 8, scale: 2, default: '0.00', comment: '折扣价')]
#[Field(type: 'decimal', precision: 8, scale: 2, default: '0.00', comment: '折扣价')]
public $discount_price;
#[Field(type: 'int', length: 11, default: '0', comment: '销量', unsigned: true)]