namespace Siger.Middlelayer.Repository.Entities
{
    public class siger_project_user: ConfigEntityBase
    {
        /// <summary>
        /// 用户的id _user.id
        /// </summary>
        public int mid { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 性别 1->男 2->女
        /// </summary>
        public int sex { get; set; } = 0;

        /// <summary>
        /// 工号
        /// </summary>
        public string work_code { get; set; } = string.Empty;

        /// <summary>
        /// 部门ID _project_section.id
        /// </summary>
        public int sectionid { get; set; } = 0;

        /// <summary>
        /// 项目ID _project.id
        /// </summary>
        public int projectid { get; set; }

        /// <summary>
        /// 职位ID _project_usergroup.id
        /// </summary>
        public string usergroupid { get; set; } = string.Empty;

        /// <summary>
        /// 是否轮班
        /// </summary>
        public int is_shift { get; set; } = 0;

        /// <summary>
        /// 职级
        /// </summary>
        public string rank { get; set; } = string.Empty;

        /// <summary>
        /// 手机
        /// </summary>
        public string mobile { get; set; } = string.Empty;

        /// <summary>
        /// 固话
        /// </summary>
        public string fixed_line { get; set; } = string.Empty;

        /// <summary>
        /// 邮件
        /// </summary>
        public string work_email { get; set; } = string.Empty;

        /// <summary>
        /// 入职日期
        /// </summary>
        public int create_time { get; set; }

        /// <summary>
        /// 微信账号
        /// </summary>
        public string weixin_account { get; set; } = string.Empty;

        /// <summary>
        /// 职工状态 1->在职; 2->主动离职; 3->辞退
        /// </summary>
        public int staff_status { get; set; } = 1;
    }
}
