| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace common\models;
- /**
- * This is the model class for table "{{%USER_PERFORMANCE_LOGS}}".
- *
- * @property string $ID
- * @property string $USER_ID
- * @property string $CASH
- * @property integer $UPDATED_AT
- * @property integer $CLEAR_BY_CLOSED_AT
- * @property User $user
- */
- class UserPerformanceLogs extends \common\components\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%USER_PERFORMANCE_LOGS}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['USER_PERFORMANCE_ID'], 'required'],
- [['AMOUNTS'], 'number'],
- [['UPDATED_AT', 'PERIOD_NUM'], 'integer'],
- [['ID','USER_ID'], 'string', 'max' => 32],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'ID' => 'ID',
- 'USER_ID' => '用户id',
- 'AMOUNTS' => '消耗金额',
- 'CREATED_AT' => '修改时间',
- ];
- }
- }
|