package cn.iocoder.yudao.module.system.controller.admin.deptsaporg.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - PMS 组织部门与SAP工厂/成本中心 对应关系新增/修改 Request VO")
@Data
public class DeptSapOrgSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30696")
    private Long id;

    @Schema(description = "组织部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22077")
    @NotNull(message = "组织部门id不能为空")
    private Long deptId;

    @Schema(description = "SAP组织id(工厂/成本中心)", requiredMode = Schema.RequiredMode.REQUIRED, example = "32319")
    @NotNull(message = "SAP组织id(工厂/成本中心)不能为空")
    private Long sapOrgId;

    @Schema(description = "SAP工厂id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32319")
    @NotNull(message = "SAP工厂id")
    private Long factoryId;

    @Schema(description = "SAP成本中心id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32319")
    @NotNull(message = "SAP成本中心id")
    private Long costCenterId;

    @Schema(description = "SAP库存地点id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32319")
    @NotNull(message = "SAP库存地点id")
    private Long stockLocationId;

}