<?php

// This file is auto-generated, don't edit it. Thanks.

namespace AlibabaCloud\SDK\Dingtalk\Vattendance_1_0\Models;

use AlibabaCloud\Tea\Model;

class CreateApproveResponseBody extends Model
{
    /**
     * @var string
     */
    public $dingtalkApproveId;
    protected $_name = [
        'dingtalkApproveId' => 'dingtalkApproveId',
    ];

    public function validate() {}

    public function toMap()
    {
        $res = [];
        if (null !== $this->dingtalkApproveId) {
            $res['dingtalkApproveId'] = $this->dingtalkApproveId;
        }

        return $res;
    }

    /**
     * @param array $map
     *
     * @return CreateApproveResponseBody
     */
    public static function fromMap($map = [])
    {
        $model = new self();
        if (isset($map['dingtalkApproveId'])) {
            $model->dingtalkApproveId = $map['dingtalkApproveId'];
        }

        return $model;
    }
}
