| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- namespace common\models;
- use Yii;
- /**
- * This is the model class for table "xhUserAlipay".
- *
- * @property integer $id
- * @property integer $merchantId
- * @property string $alipayId
- * @property string $alipayAccount
- * @property integer $userId
- * @property integer $addTime
- * @property string $createTime
- * @property string $updateTime
- */
- class xhUserAlipay extends xhBaseModel
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'xhUserAlipay';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['merchantId', 'userId', 'addTime'], 'integer'],
- [['createTime'], 'required'],
- [['createTime', 'updateTime'], 'safe'],
- [['alipayId'], 'string', 'max' => 50],
- [['alipayAccount'], 'string', 'max' => 20],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'merchantId' => 'Merchant ID',
- 'alipayId' => 'Alipay ID',
- 'alipayAccount' => 'Alipay Account',
- 'userId' => 'User ID',
- 'addTime' => 'Add Time',
- 'createTime' => 'Create Time',
- 'updateTime' => 'Update Time',
- ];
- }
- }
|