| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace common\models;
- /**
- * This is the model class for table "{{%ORDER_PERIOD_ADJUST}}".
- *
- * @property string $ID
- * @property string $ORDER_SN 订单号
- * @property int $ORIGIN_PERIOD 调整前期数
- * @property int $MODERN_PERIOD 调整后期数
- * @property string $ADMIN_ID 创建人
- * @property int $CREATED_AT 创建时间
- */
- class OrderPeriodAdjust extends \common\components\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%ORDER_PERIOD_ADJUST}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['ORDER_SN', 'ORIGIN_PERIOD', 'MODERN_PERIOD'], 'required'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'ID' => 'ID',
- 'ORDER_SN' => '订单号',
- 'ORIGIN_PERIOD' => '调整前期数',
- 'MODERN_PERIOD' => '调整后期数',
- 'ADMIN_ID' => '创建人',
- 'CREATED_AT' => '创建时间',
- ];
- }
- }
|