/**
 *
 * (c) Copyright Ascensio System SIA 2021
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.onlyoffice.integration.documentserver.models.configurations;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("prototype")
@Getter
@Setter
public class Info {
    private Boolean favorite = null;
}

@@ -829,16 +829,40 @@
 onent;%0A%0A
+import java.util.Date;%0A%0A
 @Compone
@@ -920,16 +920,49 @@
  Info %7B%0A
+    private String owner = %22Me%22;%0A
     priv
@@ -990,10 +990,295 @@
 = null;%0A
+    private String uploaded = getDate();%0A%0A    private String getDate() %7B%0A        Date date = new Date();%0A        return date.toString().replace(date.toString().substring(date.toString()%0A                .indexOf(String.valueOf(date.getDay())), date.toString().length() - 4), %22%22);%0A    %7D%0A
 %7D%0A

document info