package org.springblade.openapi.wps.pojo.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 *  wps用户信息
 * @author bfhuange
 * @date 2024/10/30
 */
@NoArgsConstructor
@Data
public class Api4WpsUserVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     *  用户id，长度不超过32位，与creator、modifier一致，必填
     */
    private String id;
    /**
     *  用户名称，必填
     */
    private String name;
    /**
     *  用户操作权限，预览固定为read，必填
     */
    private String permission = "write";

    public Api4WpsUserVO(String id, String name) {
        this.id = id;
        this.name = name;
    }
}
