XiangTan_DM/DM_Weight/Models/OrderInfo.cs

211 lines
5.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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)]
public int OrderId { get; set; }
/// <summary>
///
/// 默认值: NULL
///</summary>
[SugarColumn(ColumnName = "pharmacy")]
public string Pharmacy { get; set; }
/// <summary>
///
///</summary>
[SugarColumn(ColumnName = "order_no")]
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>
/// 药品请领状态0未请领;1已请领
/// </summary>
[SugarColumn(ColumnName = "apply_status")]
public int ApplyStatus { 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; }
[SugarColumn(ColumnName = "machine_id")]
public string MachineId { get; set; }
}
}