package com.pz.merchant.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.pz.common.annotation.ExcelDictFormat;
import com.pz.common.convert.ExcelDictConvert;
import com.pz.system.domain.TotalOrder;
import com.pz.system.domain.vo.TotalOrderVo;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * 陪诊员视图对象 employees
 *
 * @author WangMin
 * @date 2023-09-11
 */
@Data
@ExcelIgnoreUnannotated
public class EmployeesVo {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Integer id;

    /**
     * 陪诊员
     */
    @ExcelProperty(value = "陪诊员 ")
    private String name;

    /**
     * 职业开始年份
     */
    @ExcelProperty(value = "职业开始年份")
    private String startYear;

    /**
     * 用户
     */
    @ExcelProperty(value = "用户")
    private Integer uid;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "company_state")
    private Integer status;

    /**
     * 所属商户
     */
    @ExcelProperty(value = "所属商户")
    private Integer companyId;

    /**
     * 身份证正面照
     */
    @ExcelProperty(value = "身份证正面照")
    private String cardFront;

    /**
     * 身份证反面照
     */
    @ExcelProperty(value = "身份证反面照")
    private String cardReverse;

    /**
     * 健康证
     */
    @ExcelProperty(value = "健康证")
    private String healthCertificate;

    /**
     * 当前身份
     */
    @ExcelProperty(value = "当前身份", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "employee_status")
    private Integer nowType;

    /**
     * 总收益
     */
    @ExcelProperty(value = "总收益")
    private String totalRevenue;

    /**
     * 当前余额
     */
    @ExcelProperty(value = "当前余额")
    private String balance;

    /**
     * 注册时间
     */
    @ExcelProperty(value = "注册时间")
    private Date createTime;

    private String companyName;

    private String userName;

    private String cityName;

    private Integer cityId;
    /**
     * 好评率
     */
    private Double satisfactionRate;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 最近好评
     */
    private List<TotalOrderVo> totalOrderVo;

    /**
     * 工作年限
     */
    private Integer wrokYear;

    private String phone;

    private String workingHours;
}