using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace MadRunFabric.Model.SignTokenApi.Model
{
public class Zxryworkcount
{
///
/// id
///
[Key]
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string id { get; set; }
///
/// 用户工号
///
public string usercode { get; set; }
///
/// 名称
///
public string username { get; set; }
///
/// 密码
///
public string password { get; set; }
///
/// 0表示诺达集团员工,1表示甲方医院员工,2表示普通群众用户
///
public int type { get; set; } = 0;
///
/// 标志(0:非话务;1话务标志)
///
public bool seat_flag { get; set; } = false;
///
/// 分机号
///
public string extensionnumber { get; set; }
///
/// 部门ID
///
//[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string dept_id { get; set; }
///
/// 角色id
///
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string role_id { get; set; }
///
/// 坐席组(保存坐席组)
///
public string group { get; set; }
///
/// 坐席组(保存坐席组id)
///
public string groupid { get; set; }
///
/// 坐席权限组1班长坐席0普通坐席
///
public int seat_right { get; set; } = 0;
///
/// 坐席等级
///
public string seat_level { get; set; }
///
/// 性别(男/女/未知)
///
public string sex { get; set; }
///
/// 邮件
///
public string mail { get; set; } = "";
///
/// 头像
///
public string head_img { get; set; } = "";
///
/// 头像
///
public string head_small_img { get; set; } = "";
///
/// 捆绑的微信ID
///
public string weixin { get; set; } = "";
///
/// 捆绑的微信昵称
///
public string weixin_name { get; set; } = "";
///
/// 捆绑的微信头像地址
///
public string weixin_img { get; set; } = "";
///
/// 捆绑的QQ
///
public string qq { get; set; } = "";
///
/// 捆绑的新浪微博ID
///
public string sina { get; set; } = "";
///
/// 电话
///
public string telephone { get; set; } = "";
///
/// 手机
///
public string mobile { get; set; } = "";
///
/// 家庭电话
///
public string homephone { get; set; } = "";
///
/// 出生日期
///
public string birthday { get; set; } = "";
///
/// 建档工号
///
public string create_user { get; set; }
///
/// 建档日期
///
public DateTime create_time { get; set; } = DateTime.Now;
///
/// 删除工号
///
public string delete_user { get; set; }
///
/// 删除日期
///
public DateTime? delete_time { get; set; }
///
/// 删除标志
///
public bool delete_flag { get; set; } = false;
///
/// 禁用时间
///
public DateTime? lock_time { get; set; }
///
/// 禁用标志
///
public bool lock_flag { get; set; } = false;
///
/// 最后活跃时间
///
public DateTime? last_active_time { get; set; }
///
/// 察看权限(1:个人;2:班组;3:所有)
///
public string see_flag { get; set; }
///
/// 此坐席任务是呼入还是呼出(0:呼入;1:呼出)
///
public int? call_type { get; set; } = 0;
///
/// 团队id
///
public string team_id { get; set; } = "";
///
/// 备注说明
///
public string remark { get; set; }
///
/// 身份证号码
///
public string idcardno { get; set; }
///
/// 身份证图片
///
public List idcard { get; set; }
///
/// 技能证书
///
//public string certificate { get; set; }
public List certificate { get; set; }
///
/// 入职时间
///
public string entrytime { get; set; }
///
/// 转岗时间
///
public string transfertime { get; set; }
///
/// 离职时间
///
public string quittime { get; set; }
///
/// 岗位
///
public List postlist { get; set; }
///
/// 项目
///
public List projectlist { get; set; }
public string role_name { get; set; }
public string role_code { get; set; }
}
}