package com.zhongshu.card.client.model.config;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author TRX
 * @date 2024/11/26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProjectUserConfigParam {

    @Schema(description = "项目oid")
    private String projectOid;

    @Schema(description = "用户userId")
    private String userId;

    @Schema(description = "key")
    @NotEmpty
    private String key;

    @Schema(description = "关联数据")
    private Object data;

}
