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