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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import java.time.LocalDate;
import java.util.Date;

@Schema(description = "管理后台 - 送餐员信息 Response VO")
@Data
public class DeliveryPersonInfoRespVO {

    @Schema(description = "主键ID", example = "123")
    private Long id;

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

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

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

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

    @Schema(description = "入职日期", example = "2023-10-20")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate joinDate;

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

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

    @Schema(description = "创建时间")
    private Date createdTime;

    @Schema(description = "更新时间")
    private Date updatedTime;

    @Schema(description = "创建人")
    private String createdBy;

    @Schema(description = "更新人")
    private String updatedBy;

    @Schema(description = "租户ID")
    private Long tenantId;

}