using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MadRunFabric.Model.EquipmentApi.Model { /// /// 检查事项及内容 /// [BsonIgnoreExtraElements] public class Wo_Matters : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 项目id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string projectid { get; set; } /// /// 检查类型 2保养,3巡检 /// EnumWoType /// public int checktype { get; set; } = 0; /// /// 巡检/保养 事项 /// public string matter { get; set; } /// /// 事项内容 /// public List contents { get; set; } /// /// 提交时间 /// public DateTime createtime { get; set; } = DateTime.Now; /// /// 提交人 /// public string createuser { get; set; } = ""; /// /// 是否删除 /// public bool isdelete { get; set; } = false; /// /// 删除用户 /// public string deleteuser { get; set; } = ""; /// /// 删除时间 /// public DateTime? deletetime { get; set; } } }