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_Log : 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楼层信息;3设备信息;4员工信息;5通讯录信息 /// public int type { get; set; } /// /// 操作明细 /// public string details { 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; } } }