| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- use yii\db\ActiveRecord;
- /**
- * This is the model class for table "{{%cashier_user_ext}}".
- *
- * @property integer $id
- * @property integer $user_id
- * @property integer $md_id
- * @property integer $is_delete
- * @property integer $created_at
- * @property integer $updated_at
- */
- class CashierUserExt extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%cashier_user_ext}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'user_id', 'md_id', 'is_delete', 'created_at', 'updated_at'], 'integer'],
- [['created_at', 'updated_at'], 'safe']
- ];
- }
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'user_id' => '用户ID',
- 'md_id' => '门店ID',
- 'is_delete' => '是否删除',
- 'created_at' => '',
- 'updated_at' => '',
- ]; // TODO: Change the autogenerated stub
- }
- }
|