|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
-
- namespace backend\modules\api\models;
-
- use Yii;
-
- /**
- * This is the model class for table "appoint_send_message".
- *
- * @property integer $id
- * @property string $create_time
- * @property string $update_time
- * @property integer $create_user_id
- * @property integer $update_user_id
- * @property integer $cancel_flag
- * @property integer $order_id
- */
- class AppointSendMessage extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'appoint_send_message';
- }
-
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['create_time', 'create_user_id', 'update_user_id', 'order_id'], 'required'],
- [['id', 'create_user_id', 'update_user_id', 'cancel_flag', 'order_id'], 'integer'],
- [['update_time'], 'safe'],
- [['create_time'], 'string', 'max' => 50],
- ];
- }
-
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'create_time' => 'Create Time',
- 'update_time' => 'Update Time',
- 'create_user_id' => 'Create User ID',
- 'update_user_id' => 'Update User ID',
- 'cancel_flag' => 'Cancel Flag',
- 'order_id' => '对应order_main order_id',
- ];
- }
- }
|