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

import com.zhongshu.card.client.type.DataState;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author TRX
 * @date 2024/9/26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProjectBindOrgParam {

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

    @Schema(description = "机构oid")
    @NotEmpty
    private String orgOid;

    @Schema(description = "数据状态")
    @NotNull
    private DataState state = DataState.Enable;

    @Schema(description = "分账配置")
    private String payShareListId;

    @Schema(description = "负责人userId")
    private List<String> managerUserIds;
}
