package cn.iocoder.yudao.module.hrm.controller.admin.employee.vo; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotEmpty; import jakarta.validation.constraints.NotNull; import lombok.Data; @Schema(description = "管理后台 - 员工紧急联系人新增/修改 Request VO") @Data public class HrmEmployeeEmergencyContactSaveReqVO { @Schema(description = "记录ID", example = "1") private Long id; @Schema(description = "员工ID", example = "1") private Long employeeId; @Schema(description = "联系人姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五") @NotEmpty(message = "联系人姓名不能为空") private String name; @Schema(description = "与员工关系", requiredMode = Schema.RequiredMode.REQUIRED, example = "父亲") @NotEmpty(message = "与员工关系不能为空") private String relationship; @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED, example = "13700137000") @NotEmpty(message = "联系电话不能为空") private String phone; @Schema(description = "联系地址", example = "江苏省南京市") private String address; @Schema(description = "排序", example = "1") private Integer sort; @Schema(description = "备注", example = "备注信息") private String remark; }