|
@@ -2,6 +2,8 @@ package com.ruoyi.info.nursing.domain.vo;
|
|
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
|
+import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
|
|
+import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.ruoyi.common.annotation.ExcelDictFormat;
|
|
import com.ruoyi.common.annotation.ExcelDictFormat;
|
|
@@ -27,6 +29,7 @@ import java.util.List;
|
|
|
@Data
|
|
@Data
|
|
|
@ApiModel("护工信息视图对象")
|
|
@ApiModel("护工信息视图对象")
|
|
|
@ExcelIgnoreUnannotated
|
|
@ExcelIgnoreUnannotated
|
|
|
|
|
+@ContentRowHeight(20)
|
|
|
public class NursingWorkerVo implements Serializable {
|
|
public class NursingWorkerVo implements Serializable {
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
@@ -40,6 +43,7 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 姓名
|
|
* 姓名
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(15)
|
|
|
@ExcelProperty(value = "姓名")
|
|
@ExcelProperty(value = "姓名")
|
|
|
@ApiModelProperty("姓名")
|
|
@ApiModelProperty("姓名")
|
|
|
private String name;
|
|
private String name;
|
|
@@ -47,6 +51,7 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 手机号
|
|
* 手机号
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(20)
|
|
|
@ExcelProperty(value = "手机号")
|
|
@ExcelProperty(value = "手机号")
|
|
|
@ApiModelProperty("手机号")
|
|
@ApiModelProperty("手机号")
|
|
|
private String phoneNumber;
|
|
private String phoneNumber;
|
|
@@ -54,6 +59,7 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 性别
|
|
* 性别
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(10)
|
|
|
@ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
|
|
@ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
|
|
|
@ExcelDictFormat(dictType = "sys_user_sex")
|
|
@ExcelDictFormat(dictType = "sys_user_sex")
|
|
|
@ApiModelProperty("性别 1-男 2-女")
|
|
@ApiModelProperty("性别 1-男 2-女")
|
|
@@ -62,13 +68,15 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 年龄
|
|
* 年龄
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(10)
|
|
|
@ExcelProperty(value = "年龄")
|
|
@ExcelProperty(value = "年龄")
|
|
|
@ApiModelProperty("年龄")
|
|
@ApiModelProperty("年龄")
|
|
|
- private String age;
|
|
|
|
|
|
|
+ private Integer age;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 工作年限
|
|
* 工作年限
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(18)
|
|
|
@ExcelProperty(value = "工作年限")
|
|
@ExcelProperty(value = "工作年限")
|
|
|
@ApiModelProperty("工作年限")
|
|
@ApiModelProperty("工作年限")
|
|
|
private Integer workYears;
|
|
private Integer workYears;
|
|
@@ -82,6 +90,7 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 常驻医院
|
|
* 常驻医院
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(25)
|
|
|
@ExcelProperty(value = "常驻医院")
|
|
@ExcelProperty(value = "常驻医院")
|
|
|
@ApiModelProperty("常驻医院名称")
|
|
@ApiModelProperty("常驻医院名称")
|
|
|
private String hospitalName;
|
|
private String hospitalName;
|
|
@@ -89,6 +98,7 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 身份证号
|
|
* 身份证号
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(25)
|
|
|
@ExcelProperty(value = "身份证号")
|
|
@ExcelProperty(value = "身份证号")
|
|
|
@ApiModelProperty("身份证号")
|
|
@ApiModelProperty("身份证号")
|
|
|
private String idCard;
|
|
private String idCard;
|
|
@@ -96,6 +106,7 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 接单状态 0-正常 1-关闭
|
|
* 接单状态 0-正常 1-关闭
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(18)
|
|
|
@ExcelProperty(value = "接单状态", converter = ExcelDictConvert.class)
|
|
@ExcelProperty(value = "接单状态", converter = ExcelDictConvert.class)
|
|
|
@ExcelDictFormat(readConverterExp = "0=正常,1=关闭")
|
|
@ExcelDictFormat(readConverterExp = "0=正常,1=关闭")
|
|
|
@ApiModelProperty("接单状态 0-正常 1-关闭")
|
|
@ApiModelProperty("接单状态 0-正常 1-关闭")
|
|
@@ -104,7 +115,8 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 用户状态 0-启用 1-禁用
|
|
* 用户状态 0-启用 1-禁用
|
|
|
*/
|
|
*/
|
|
|
- @ExcelProperty(value = "用户状态", converter = ExcelDictConvert.class)
|
|
|
|
|
|
|
+ @ColumnWidth(10)
|
|
|
|
|
+ @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
|
|
|
@ExcelDictFormat(readConverterExp = "0=正常,1=禁用")
|
|
@ExcelDictFormat(readConverterExp = "0=正常,1=禁用")
|
|
|
@ApiModelProperty("用户状态 0-启用 1-禁用")
|
|
@ApiModelProperty("用户状态 0-启用 1-禁用")
|
|
|
private String enableStatus;
|
|
private String enableStatus;
|
|
@@ -112,7 +124,7 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 排序序号
|
|
* 排序序号
|
|
|
*/
|
|
*/
|
|
|
- @ExcelProperty(value = "排序序号")
|
|
|
|
|
|
|
+// @ExcelProperty(value = "排序序号")
|
|
|
@ApiModelProperty("排序序号")
|
|
@ApiModelProperty("排序序号")
|
|
|
private Integer sortOrder;
|
|
private Integer sortOrder;
|
|
|
|
|
|
|
@@ -126,7 +138,8 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 导出图片url
|
|
* 导出图片url
|
|
|
*/
|
|
*/
|
|
|
- @ExcelProperty(value = "形象照片")
|
|
|
|
|
|
|
+ @ColumnWidth(10)
|
|
|
|
|
+ @ExcelProperty(value = "照片")
|
|
|
@ApiModelProperty("形象照片")
|
|
@ApiModelProperty("形象照片")
|
|
|
private URL photograph;
|
|
private URL photograph;
|
|
|
|
|
|
|
@@ -137,6 +150,7 @@ public class NursingWorkerVo implements Serializable {
|
|
|
/**
|
|
/**
|
|
|
* 接单数量
|
|
* 接单数量
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @ColumnWidth(18)
|
|
|
@ExcelProperty(value = "接单数量")
|
|
@ExcelProperty(value = "接单数量")
|
|
|
@ApiModelProperty("接单数量")
|
|
@ApiModelProperty("接单数量")
|
|
|
private Integer orderCount = 0;
|
|
private Integer orderCount = 0;
|