package com.cf.imes.module.system.controller.admin.process.vo.processUser;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 工序用户表 process_user新增/修改 Request VO")
@Data
public class ProcessAndUserSaveReqVO {

    @Schema(description = "工序 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9416")
    @NotNull(message = "工序 ID不能为空")
    private Long processId;

    @Schema(description = "用户 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24517")
    @NotNull(message = "用户 ID不能为空")
    private Long userId;

    private Long organId;
}