| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- namespace common\models;
- use Yii;
- /**
- * This is the model class for table "{{%SERVE_PROCESS}}".
- *
- * @property string $ID
- * @property string $TASK_TYPE 任务类型 serve_statistical 服务统计信息,比如总人数,总业绩 perf 业绩单信息 bonus 奖金信息
- * @property string $START_AT 开始时间
- * @property string $END_AT 结束时间
- * @property string $PERIOD_NUM 业绩期
- * @property string $TASK_DESCRIBE 描述信息
- * @property string $USE_MEMORY 使用内存大小
- * @property string $USE_TIME 耗时
- * @property string $CALC_USER_TOTAL 总人数
- * @property string $CALC_PERF_TOTAL 业绩单中总业绩
- * @property string $CREATE_AT 创建时间
- */
- class ServeProcess extends \common\components\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%SERVE_PROCESS}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['PERIOD_NUM', 'TASK_TYPE'], 'required'],
- [['ID'], 'unique'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'ID' => 'ID',
- 'TASK_TYPE' => '任务类型',
- 'START_AT' => '开始时间',
- 'END_AT' => '结束时间',
- 'PERIOD_NUM' => '业绩期',
- 'TASK_DESCRIBE' => '描述信息',
- 'USE_MEMORY' => '使用内存大小',
- 'USE_TIME' => '耗时',
- 'CALC_USER_TOTAL' => '总人数',
- 'CALC_PERF_TOTAL' => '总业绩',
- ];
- }
- }
|