| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- namespace common\models;
- use Yii;
- /**
- * 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' => Yii::t('ctx', 'shopOrderListOrderCode'),
- 'DEC_SN' => Yii::t('ctx', 'entryNo'),
- 'ORIGIN_PERIOD' => Yii::t('ctx', 'beforeAdjustmentPcNo'),
- 'MODERN_PERIOD' => Yii::t('ctx', 'afterAdjustmentPcNo'),
- 'ADMIN_ID' => Yii::t('ctx', 'userCreator'),
- 'CREATED_AT' => Yii::t('ctx', 'createAt'),
- ];
- }
- }
|