package com.repair.model.vo;

import lombok.Data;

/**
 * @Author: binguo
 * @Date: 2023/8/7 星期一 8:48
 * @Description: com.repair.model.vo
 * @Version: 1.0
 */
@Data
public class AddressBookVo {
    /**
     * 数据ID
     */
    private int id;
    /**
     * 维修班
     */
    private int teamId;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 用户手机号
     */
    private String userPhone;
    /**
     * 工种ID
     */
    private Integer workType;
    /**
     * 工种名称
     */
    private String workTypeName;
    /**
     * 接单ID
     */
    private Integer state;
    /**
     * 接单状态
     */
    private String stateStr;

    public String getStateStr() {
        return state == 1 ? "正常接单" : "停止接单";
    }

    public void setStateStr(String stateStr) {
        this.stateStr = stateStr;
    }

    /**
     * 接单考核时间
     */
    private Integer acceptanceTime;
    /**
     * 维修考核时间
     */
    private Integer maintenanceTime;

}
