using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace MadRunFabric.Model
{
///
/// 用户表 - 普通排班(保洁,保安) - 公示系统展示
///
[BsonIgnoreExtraElements]
public class Sys_Work_User : IBaseModel
{
///
/// id
///
[Key]
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string id { get; set; }
///
/// 项目
///
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string projectid { get; set; }
///
/// 角色分类(字典)
///
[BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string usertype { get; set; }
/////
///// 用户工号
/////
//public string usercode { get; set; }
///
/// 姓名
///
public string username { get; set; }
///
/// 性别(男/女/未知)
///
public string sex { get; set; }
///
/// 手机
///
public string mobile { get; set; } = "";
///
/// 备注说明
///
public string remark { get; set; }
/////
///// 家庭电话
/////
//public string homephone { get; set; } = "";
/////
///// 出生日期
/////
//public string birthday { get; set; } = "";
/////
///// 头像 ------------------------------------------------
/////
//public string head_img { get; set; } = "";
/////
///// 头像
/////
//public string head_small_img { get; set; } = "";
/////
///// 身份证号码
/////
//public string idcardno { get; set; }
/////
///// 身份证图片
/////
//public List idcard { get; set; }
/////
///// 入职时间 ------------------------------------------------
/////
//public string entrytime { get; set; }
/////
///// 转岗时间
/////
//public string transfertime { get; set; }
/////
///// 离职时间
/////
//public string quittime { get; set; }
///
/// 添加人工号 ------------------------------------------------
///
public string createby { get; set; }
///
/// 添加人名字
///
public string createname { get; set; }
///
/// 添加时间
///
public DateTime createtime { get; set; } = DateTime.Now;
///
/// 是否删除(0正常1删除)
///
public int isdelete { get; set; } = 0;
///
/// 删除人
///
public string deleteby { get; set; }
///
/// 删除日期
///
public DateTime? deletetime { get; set; }
}
}