using System; using System.Collections.Generic; using System.Text; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson; using MadRunFabric.Common; using System.ComponentModel.DataAnnotations; namespace MadRunFabric.Model { /// /// 项目通讯录表 /// public class Pro_Project_User : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 项目id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string projectid { get; set; } /// /// 类型1甲方2诺达 /// public int type { get; set; } /// /// 姓名 /// public string name { get; set; } /// /// 性别 /// public string sex { get; set; } /// /// 手机号 /// public string mobilephone { get; set; } /// /// 固话 /// public string telephone { get; set; } /// /// 头像 /// public string imgurl { get; set; } /// /// 小图头像 /// public string imgsmallurl { get; set; } /// /// 部门/科室 /// public string department { get; set; } /// /// 岗位/职位 /// public string position { get; set; } /// /// 备注 /// public string remark { get; set; } /// /// 添加人工号 /// public string createby { 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; } } }