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 Distri_Goods : IBaseModel { /// /// 自增id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 项目名称id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string projectid { get; set; } /// /// 物品种类 - 物品种类包含:即时标本、普通标本、核磁申请单、功能申请单、会诊单、转诊单、取结果、片子、打腕带、送病历、取药 /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string kindid { get; set; } /// /// 紧急程度 - 1一般 2紧急 /// public int typeid { get; set; } /// /// 物品名称 /// public string goodsname { get; set; } /// /// 是否提醒 - 提醒(关联工单,即将提醒内填写的内容展示在该物品下单成功后的物品种类后面) /// public bool isremind { get; set; } /// /// 提醒备注 /// public string remark { get; set; } = ""; /// /// 楼宇名称id ---------------------------------------------关联科室 /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string buildingid { get; set; } /// /// 层数id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string floorid { get; set; } /// /// 排序 --------------------------------------------- /// public int sortnum { get; set; } = 0; /// /// 添加人工号 /// public string createtby { 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; } } }