198 lines
		
	
	
		
			5.5 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			198 lines
		
	
	
		
			5.5 KiB
		
	
	
	
		
			C#
		
	
	
	
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Linq;
 | 
						|
using SqlSugar;
 | 
						|
namespace DM_Weight.Models
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// 
 | 
						|
    ///</summary>
 | 
						|
    [SugarTable("order_info")]
 | 
						|
    public class OrderInfo
 | 
						|
    {
 | 
						|
        /// <summary>
 | 
						|
        /// 是否选中
 | 
						|
        /// </summary>
 | 
						|
        [SugarColumn(IsIgnore = true)]
 | 
						|
        public bool ItemIsChecked { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /////</summary>
 | 
						|
        //[SugarColumn(ColumnName = "order_id", IsPrimaryKey = true, IsIdentity = true)]
 | 
						|
        [SugarColumn(ColumnName = "order_id")]
 | 
						|
        public int OrderId { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "pharmacy")]
 | 
						|
        public string Pharmacy { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "order_no", IsPrimaryKey = true, IsIdentity = true)]
 | 
						|
        public string OrderNo { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "patient_id")]
 | 
						|
        public string PatientId { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "p_name")]
 | 
						|
        public string PName { get; set; }
 | 
						|
        
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "sex")]
 | 
						|
        public string Sex { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "age")]
 | 
						|
        public string Age { get; set; }
 | 
						|
        
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "id_number")]
 | 
						|
        public string IdNumber { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "patient_card")]
 | 
						|
        public string PatientCard { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "invoice_no")]
 | 
						|
        public string InvoiceNo { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "patient_no")]
 | 
						|
        public string PatientNo { get; set; }
 | 
						|
        
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "doctor_name")]
 | 
						|
        public string DoctorName { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "order_date")]
 | 
						|
        public DateTime OrderDate { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "charge_date")]
 | 
						|
        public DateTime ChargeDate { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "recv_date")]
 | 
						|
        public DateTime RecvDate { get; set; }
 | 
						|
        
 | 
						|
        
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "dept_name")]
 | 
						|
        public string DeptName { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "disease")]
 | 
						|
        public string Disease { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "order_type")]
 | 
						|
        public string OrderType { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "charge_type")]
 | 
						|
        public string ChargeType { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "state")]
 | 
						|
        public int State { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: 0
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "his_disp_flag")]
 | 
						|
        public int? HisDispFlag { get; set; }
 | 
						|
        
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: 0
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "cancel_flag")]
 | 
						|
        public int? CancelFlag { get; set; }
 | 
						|
       
 | 
						|
        
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: 0
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "dm_status")]
 | 
						|
        public int? DmStatus { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        //[SugarColumn(ColumnName = "agent_name")]
 | 
						|
        //public string AgentName { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        //[SugarColumn(ColumnName = "agent_id_no")]
 | 
						|
        //public string AgentIdNo { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        [SugarColumn(ColumnName = "costs")]
 | 
						|
        public decimal? Costs { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        //[SugarColumn(ColumnName = "payments")]
 | 
						|
        //public decimal? Payments { get; set; }
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        //[SugarColumn(ColumnName = "dispensary")]
 | 
						|
        //public string Dispensary { get; set; }
 | 
						|
        
 | 
						|
        /// <summary>
 | 
						|
        ///  
 | 
						|
        /// 默认值: NULL
 | 
						|
        ///</summary>
 | 
						|
        //[SugarColumn(ColumnName = "identity")]
 | 
						|
        //public string Identity { get; set; }
 | 
						|
    }
 | 
						|
} |