|
- <?php
-
- namespace backend\modules\hotel\models;
-
- use Yii;
-
- /**
- * This is the model class for table "base_confirm_organization".
- *
- * @property integer $ID
- * @property integer $CANCEL_FLAG
- * @property integer $CREATE_USER_ID
- * @property string $CREATE_TIME
- * @property integer $UPDATE_USER_ID
- * @property string $UPDATE_TIME
- * @property string $ORG_NAME
- */
- class BaseConfirmOrganization extends \common\models\zModel
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'base_confirm_organization';
- }
-
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['CANCEL_FLAG', 'CREATE_USER_ID', 'UPDATE_USER_ID'], 'integer'],
- [['CREATE_USER_ID', 'UPDATE_USER_ID'], 'required'],
- [['UPDATE_TIME'], 'safe'],
- [['CREATE_TIME', 'ORG_NAME'], 'string', 'max' => 200],
- ];
- }
-
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'ID' => 'ID',
- 'CANCEL_FLAG' => '记录有效性标记,0:记录有效;1:记录已删除',
- 'CREATE_USER_ID' => '记录创建用户ID',
- 'CREATE_TIME' => '记录创建时间',
- 'UPDATE_USER_ID' => '记录最后更新用户ID',
- 'UPDATE_TIME' => '记录最后更新时间',
- 'ORG_NAME' => '发单主体名称',
- ];
- }
- }
|