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

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

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 居家服务人员分配长者 Request VO")
@Data
public class HomeServiceMemberAssignReqVO {

    @Schema(description = "居家服务人员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "serviceMemberId 不能为空")
    private Long serviceMemberId;

    @Schema(description = "长者ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "homeElderId 不能为空")
    private Long homeElderId;

}
