All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hecloud.runtime.common.model.RequestUser Maven / Gradle / Ivy

package com.hecloud.runtime.common.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 请求用户对象类
 *
 * @author LoveinBJ
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RequestUser {

    private Long id;
    private Long tenantId;
    private String apiKey;
    private Long projectId;

    public RequestUser(Long id, Long tenantId, String apiKey) {
        super();
        this.id = id;
        this.tenantId = tenantId;
        this.apiKey = apiKey;
    }

    /**
     * @param id 用户ID
     */
    public RequestUser(Long id) {
        this.id = id;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy