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_Department : IBaseModel { /// /// 自增id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 父级id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string parent_id { get; set; } /// /// 项目名称id ------------------------------------------------------------ /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string projectid { get; set; } /// /// 楼栋id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string building { get; set; } /// /// 楼层名称id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string floorid { get; set; } /// /// 部门名称 ------------------------------------------------------------ /// public string departmenname { get; set; } /// /// 排序 /// public int sortnum { get; set; } /// /// 备注 /// public string remark { get; set; } /// /// 手机号 /// public string mobile { get; set; } /// /// 固定电话 /// public string telephone { get; set; } /// /// 邮箱 /// public string email { get; set; } /// /// 添加人工号 ------------------------------------------------------------ /// public string createtby { get; set; } /// /// 添加人名字 /// public string createbyname { 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; } } }