package xiaoqu.home.open.controller.export;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import xiaoqu.home.open.utils.poi.annotation.Excel;

/**
 * 用户表
 */
@ApiModel(value = "用户中心导出输出对象")
@Data
public class UserExportOutput {

	@Excel(name = "id")
	private Long id;

	@Excel(name = "姓名")
	private String name;

	@Excel(name = "手机号")
	private String mobile;

	@Excel(name = "性别")
	private String sex;

	@Excel(name = "年龄")
	private int age;

	@Excel(name = "账号角色类型 ", readConverterExp = "2=保洁,5=物业")
	private Integer approle;

	@Excel(name = "系统权限", readConverterExp = "0=管理权限,1=普通权限")
	private Integer roleType;

	@Excel(name = "标签名称")
	private String labelName;

	@Excel(name = "技能")
	private String skillName;

	@Excel(name = "身份证号")
	private String idcard;

	@Excel(name = "邮箱")
	private String email;

	@Excel(name = "服务区域个数")
	private int serviceAreaCount;

	@Excel(name = "服务事项个数")
	private int serviceEventCount;

	@Excel(name = "所属班组名称")
	private String groupsName;

	@Excel(name = "考勤状态", readConverterExp = "0=上班,1=下班,2=请假,3=休息")
	private Integer workStatus;

	@Excel(name = "工作状态", readConverterExp = "0=作业,1=转场,2=空闲,3=休息")
	private Integer workAtStatus;

	@Excel(name = "试用期保护", readConverterExp = "0=未启用,1=启用")
	private Integer probationProtection;
	
	@Excel(name = "上下班时间")
	private String onAndOffTime="";

	@Excel(name = "生日")
	private String birthday;

	@Excel(name = "聘用日期")
	private String employDate;

	@Excel(name = "终止日期")
	private String terminationDate;

	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	@Excel(name = "创建人")
	private String createName;

	@Excel(name = "编辑时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date modifyTime;

	@Excel(name = "编辑人")
	private String modifyName;

	@Excel(name = "所属站点")
	private String districtName;
}
