| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- namespace common\models;
- /**
- * This is the model class for table "{{%ORDER_PERIOD_ADJUST}}".
- *
- * @property string $ID
- * @property string $ORDER_SN 订单号
- * @property string $DEC_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' => '订单号',
- 'DEC_SN' => '报单编号',
- 'ORIGIN_PERIOD' => '调整前期数',
- 'MODERN_PERIOD' => '调整后期数',
- 'ADMIN_ID' => '创建人',
- 'CREATED_AT' => '创建时间',
- ];
- }
- }
|