package xiaoqu.home.open.controller.output.user;

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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import xiaoqu.home.open.controller.input.grid.GridSelectInput2;
import xiaoqu.home.open.publicBean.IdToNameEntity;

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

	@ApiModelProperty(value = "id")
	private Long id;

	@ApiModelProperty(value = "姓名")
	private String name;

	@ApiModelProperty(value = "手机号")
	private String mobile;
	
	@ApiModelProperty(value = "性别（男，女）")
	private String sex;
	
	@ApiModelProperty(value = "年龄")
	private Integer age;

	@ApiModelProperty(value = "账号角色类型1:运维;2:保洁;3:富士康;4:老化;5:物业;6:代理")
	private Integer approle;

	@ApiModelProperty(value = "系统权限0:管理权限;1:普通权限")
	private Integer roleType;
	
	@ApiModelProperty(value = "标签名称")
	private String labelName;
	
	@ApiModelProperty(value = "技能")
	private String skillName;

	@ApiModelProperty(value = "身份证号")
	private String idcard;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "服务区域个数")
	private int serviceAreaCount;
	
	@ApiModelProperty(value = "服务事项个数")
	private int serviceEventCount;
	
	@ApiModelProperty(value = "所属班组名称")
	private String groupsName;
	
	@ApiModelProperty(value = "考勤状态0:上班;1:下班;2:请假;3休息")
    private Integer workStatus;
	
	@ApiModelProperty(value = "工作状态0:作业;1:转场;2:空闲;3休息")
    private Integer workAtStatus;
	
	@ApiModelProperty(value = "试用期保护0:未启用;1:启用")
    private Integer probationProtection;

	@ApiModelProperty(value = "生日")
	private String birthday;

	@ApiModelProperty(value = "聘用日期")
	private String employDate;

	@ApiModelProperty(value = "终止日期")
	private String terminationDate;

	@ApiModelProperty(value = "创建人")
	private String createName;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "编辑人")
	private String modifyName;

	@ApiModelProperty(value = "修改时间")
	private Date modifyTime;
	
	@ApiModelProperty(value = "技能返现")
	private List<IdToNameEntity> skills;

	@ApiModelProperty(value = "标签返现")
	private List<IdToNameEntity> labels;
	
	@ApiModelProperty(value = "所属班组返现")
	private List<IdToNameEntity> groups;

	@ApiModelProperty(value = "服务区域返现")
	private List<GridSelectInput2> serviceAreas;
	
	@ApiModelProperty(value = "服务事项返现")
	private List<IdToNameEntity> serviceEvents;
	
	@ApiModelProperty(value = "所属站点")
	private String districtName;
	@ApiModelProperty(value = "站点ID")
	private Long districtId;
	
	@ApiModelProperty(value = "备注")
	private String note;
	
	@ApiModelProperty(value = "上班时间")
	private String onTime="";
	
	@ApiModelProperty(value = "下班时间")
	private String offTime="";
	
	@ApiModelProperty(value = "上下班时间")
	private String onAndOffTime="";
	
}
