<?php

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

namespace AlibabaCloud\SDK\Dingtalk\Vjzcrm_1_0\Models;

use AlibabaCloud\Tea\Model;

class EditPurchaseResponseBody extends Model
{
    /**
     * @description 编辑数据的id
     *
     * @var int
     */
    public $msgid;

    /**
     * @description 响应时间
     *
     * @var string
     */
    public $time;
    protected $_name = [
        'msgid' => 'msgid',
        'time'  => 'time',
    ];

    public function validate()
    {
    }

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

        return $res;
    }

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

        return $model;
    }
}
