100], [['itemNumber'], 'string', 'max' => 50], [['cover', 'urlQrCode'], 'string', 'max' => 200], [['shopImg'], 'string', 'max' => 800], [['representative', 'sendArea', 'material', 'shortUrl'], 'string', 'max' => 500], [['multiPrice'], 'string', 'max' => 255], [['itemNumber'], 'unique'], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'goodsName' => 'Goods Name', 'itemNumber' => 'Item Number', 'cover' => 'Cover', 'shopImg' => 'Shop Img', 'stock' => 'Stock', 'price' => 'Price', 'userId' => 'User ID', 'adminId' => 'Admin ID', 'merchantId' => 'Merchant ID', 'categoryId' => 'Category ID', 'representative' => 'Representative', 'sendArea' => 'Send Area', 'isCharge' => 'Is Charge', 'sold' => 'Sold', 'actualSold' => 'Actual Sold', 'material' => 'Material', 'flowerNum' => 'Flower Num', 'fitPeople' => 'Fit People', 'fitFestival' => 'Fit Festival', 'content' => 'Content', 'style' => 'Style', 'riseAmount' => 'Rise Amount', 'inTurn' => 'In Turn', 'delStatus' => 'Del Status', 'status' => 'Status', 'createTime' => 'Create Time', 'updateTime' => 'Update Time', 'urlQrCode' => 'Url Qr Code', 'shortUrl' => 'Short Url', 'multiPrice' => 'Multi Price', ]; } }