package com.ruoyi.info.order.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单更换分配护工记录业务对象 tb_order_worker_change_record
 *
 * @author ruoyi
 * @date 2025-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("订单更换分配护工记录业务对象")
public class OrderWorkerChangeRecordBo extends BaseEntity {

    /**
     * ID
     */
    @ApiModelProperty(value = "ID", required = true)
    private Long id;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID", required = true)
    @NotNull(message = "订单ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long orderId;

    /**
     * 护工ID
     */
    @ApiModelProperty(value = "护工ID", required = true)
    @NotNull(message = "护工ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long workerId;

    /**
     * 护工姓名
     */
    @ApiModelProperty(value = "护工姓名", required = true)
    private String workerName;

    /**
     * 护工手机号
     */
    @ApiModelProperty(value = "护工手机号", required = true)
    private String workerPhoneNumber;

    /**
     * 性别 1-男 2-女
     */
    @ApiModelProperty(value = "性别 1-男 2-女", required = true)
    private String sex;

    /**
     * 操作老师主键
     */
    @ApiModelProperty(value = "操作老师主键", required = true)
    private Long operatingTeacherId;

    /**
     * 护工开始时间
     */
    @ApiModelProperty(value = "护工开始时间", required = true)
    private Date workerStartTime;

    /**
     * 护工结束时间
     */
    @ApiModelProperty(value = "护工结束时间", required = true)
    private Date workerEndTime;


}
