| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <?php
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- /**
- * This is the model class for table "{{%wechat_intracity_service}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property string $wx_store_id
- * @property string $out_store_id
- * @property string $store_name
- * @property integer $order_pattern
- * @property string $service_trans_prefer
- * @property string $address_info
- * @property string $balance
- * @property integer $created_at
- * @property integer $updated_at
- * @property integer $is_delete
- * @property integer $md_id
- */
- class WechatIntracityService extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%wechat_intracity_service}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['created_at', 'updated_at', 'is_delete', 'store_id', 'order_pattern', 'id', 'md_id'], 'integer'],
- [['wx_store_id', 'out_store_id', 'store_name', 'service_trans_prefer', 'address_info', 'balance'], 'string'],
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'store_id' => 'StoreID',
- 'wx_store_id' => '微信门店编号',
- 'out_store_id' => '自定义门店编号',
- 'store_name' => '门店名称',
- 'order_pattern' => '运力偏好 1:价格优先,2:运力优先, 默认价格优先',
- 'service_trans_prefer' => '优先使用的运力ID DADA 达达 SFTC 顺丰同城',
- 'address_info' => '地址信息',
- 'balance' => '余额',
- 'created_at' => '创建时间',
- 'updated_at' => '更新时间',
- 'is_delete' => 'Is Delete',
- ];
- }
- }
|