TimestampBehavior::class, 'value' => time() ] ]; } /** * @inheritdoc */ public function rules() { return [ [['store_id', 'express_id', 'is_delete', 'created_at', 'updated_at', 'supplier_id', 'type'], 'integer'], [['customer_name', 'customer_pwd', 'month_code', 'send_site', 'send_name', 'template_size'], 'string', 'max' => 255], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'store_id' => 'Store ID', 'express_id' => '快递公司id', 'customer_name' => '电子面单客户账号', 'customer_pwd' => '电子面单密码', 'month_code' => '月结编码', 'send_site' => '网点编码', 'send_name' => '网点名称', 'is_delete' => 'Is Delete', 'template_size' => '快递鸟电子面单模板规格', 'updated_at' => '更新时间', 'created_at' => '创建时间', 'supplier_id' => '供货商id', 'type' => '类型' ]; } }