103 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			103 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C#
		
	
	
	
| 
								 | 
							
								using SqlSugar;
							 | 
						|||
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Collections.Generic;
							 | 
						|||
| 
								 | 
							
								using System.Linq;
							 | 
						|||
| 
								 | 
							
								using System.Text;
							 | 
						|||
| 
								 | 
							
								using System.Threading.Tasks;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace DM_Weight.Models
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    [SugarTable("rejection_report")]
							 | 
						|||
| 
								 | 
							
								    public class RejectionReport
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 主键
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
							 | 
						|||
| 
								 | 
							
								        public int Id { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 发药时间
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "SendDate")]
							 | 
						|||
| 
								 | 
							
								        public DateTime SendDate { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 发药者
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "SendUser")]
							 | 
						|||
| 
								 | 
							
								        public string SendUser { get;set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 领药者
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "ReceiveUser")]
							 | 
						|||
| 
								 | 
							
								        public string ReceiveUser { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 实发数
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "RealNum")]
							 | 
						|||
| 
								 | 
							
								        public int RealNum { get;set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 实物数
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "InfactNum")]
							 | 
						|||
| 
								 | 
							
								        public int InfactNum { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 空安瓿
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "EmptyNum")]
							 | 
						|||
| 
								 | 
							
								        public int EmptyNum { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 还药时间
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "ReturnTime")]
							 | 
						|||
| 
								 | 
							
								        public string ReturnTime { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 还药者
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "ReturnUser")]
							 | 
						|||
| 
								 | 
							
								        public string ReturnUser { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 接收者
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "ReturnReceiveUser")]
							 | 
						|||
| 
								 | 
							
								        public string ReturnReceiveUser { get;set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 补充者
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "AddUser")]
							 | 
						|||
| 
								 | 
							
								        public string AddUser { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 核对者
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "AddCheckUser")]
							 | 
						|||
| 
								 | 
							
								        public string AddCheckUser { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 操作时间
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "OperationTime")]
							 | 
						|||
| 
								 | 
							
								        public DateTime OperationTime { get; set; }
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "DrugId")]
							 | 
						|||
| 
								 | 
							
								        public string DrugId { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 药品名称
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "DrugName")]
							 | 
						|||
| 
								 | 
							
								        public string DrugName { get; set;}
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 药品规格
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "DrugSpec")]
							 | 
						|||
| 
								 | 
							
								        public string DrugSpec { get;set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 总基数
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "BaseNum")]
							 | 
						|||
| 
								 | 
							
								        public string BaseNum { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 药箱号
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [SugarColumn(ColumnName = "DrawerNo")]
							 | 
						|||
| 
								 | 
							
								        public int DrawerNo { get; set; }
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |