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

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import xiaoqu.home.open.controller.input.task.GridAndSceneInput;
import xiaoqu.home.open.controller.output.MenuOutInfo;
import xiaoqu.home.open.controller.output.MyUserMenuOutput;
import xiaoqu.home.open.publicBean.IdToNameEntity;

/**
 * 用户表
 */
@ApiModel(value = "用户中心新增对象")
@Data
public class UserInsertInput {

	@ApiModelProperty(value = "站点ID")
    private Long districtId;
	
	@ApiModelProperty(value = "id修改的时候必须传")
	private Long id;

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

	@ApiModelProperty(value = "手机号")
	private String mobile="";
	
	@ApiModelProperty(value = "性别 男:男 女:女")
	private String sex="";
	
	@ApiModelProperty(value = "出生日期")
	private String birthday="";
	
	@ApiModelProperty(value = "年龄")
	private String age;

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

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

	@ApiModelProperty(value = "技能")
	private List<IdToNameEntity> skills;

	@ApiModelProperty(value = "标签")
	private List<IdToNameEntity> labels;
	
	@ApiModelProperty(value = "聘用日期")
	private String employDate="";
	
	@ApiModelProperty(value = "终止日期")
	private String terminationDate="";

	@ApiModelProperty(value = "所属班组")
	private List<IdToNameEntity> groups;

	@ApiModelProperty(value = "服务区域")
	private List<GridAndSceneInput> serviceAreas;
	
	@ApiModelProperty(value = "服务事项")
	private List<IdToNameEntity> serviceEvents;
	
	@ApiModelProperty(value = "备注")
	private String note="";
	
	@ApiModelProperty(value="站点菜单")
	private List<MenuOutInfo> districtMenu;
	
	@ApiModelProperty(value="我的菜单")
	private List<MyUserMenuOutput> myMenu;
	
	@ApiModelProperty(value = "上班时间")
	private String onTime="";
	
	@ApiModelProperty(value = "下班时间")
	private String offTime="";
	
}
