package cn.iocoder.yudao.module.system.controller.admin.yk.vo.deliveryPerson;

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

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Schema(description = "管理后台 - 送餐员信息更新 Request VO")
@Data
public class DeliveryPersonInfoUpdateReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "123")
    @NotNull(message = "主键ID不能为空")
    private Long id;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    private String name;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED, example = "13512345678")
    private String phone;

    @Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED, example = "310101197001010001")
    private String idCard;

    @Schema(description = "地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "上海市黄浦区人民广场100号")
    private String address;

    @Schema(description = "入职日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2023-10-20")
    private LocalDate joinDate;

    @Schema(description = "状态: 1-在职 2-离职", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "自费长者ID列表(逗号分隔)", example = "123,2")
    private String elderlyIds;

}