123 lines
3.4 KiB
C#
123 lines
3.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Controls;
|
|
using Newtonsoft.Json;
|
|
using SqlSugar;
|
|
|
|
namespace DM_Weight.Models
|
|
{
|
|
/// <summary>
|
|
/// 处方、请领单中间表
|
|
/// </summary>
|
|
[SugarTable("order_apply")]
|
|
public class CollectDrug
|
|
{
|
|
/// <summary>
|
|
/// 是否选择
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore =true)]
|
|
public bool IsSelected { get; set; }
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Applyid")]
|
|
public int Applyid { get; set; }
|
|
/// <summary>
|
|
/// 药品请领单号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Drug_plase_id")]
|
|
public string DrugPleaseClaimId { get; set; }
|
|
/// 处方
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "OrderNo")]
|
|
public string OrderNo { get; set; }
|
|
/// <summary>
|
|
/// 药品ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Drug_Id")]
|
|
public string DrugId { get; set; }
|
|
/// <summary>
|
|
/// 患者ID
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore =true)]
|
|
public string PatientId { get; set; }
|
|
/// <summary>
|
|
/// 姓名
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string PName { get; set; }
|
|
/// <summary>
|
|
/// 性别
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string Sex { get; set; }
|
|
/// <summary>
|
|
/// 年龄
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string Age { get; set; }
|
|
/// <summary>
|
|
/// 身份证号
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string IdNumber { get; set; }
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 科室
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string DeptName { get; set; }
|
|
/// <summary>
|
|
/// 药品名称
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string DrugName { get;set; }
|
|
/// <summary>
|
|
/// 规格
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string DrugSpec { get; set; }
|
|
/// <summary>
|
|
/// 厂家
|
|
/// </summary>
|
|
[SugarColumn(IsIgnore = true)]
|
|
public string Manufactory { get; set; }
|
|
/// <summary>
|
|
/// 数量
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Quantity")]
|
|
public int Quantity { get; set; }
|
|
|
|
[SugarColumn(ColumnName = "Createdate")]
|
|
public DateTime Createdate { get; set; }
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Status")]
|
|
public int Status { get; set; }
|
|
|
|
|
|
[SugarColumn(ColumnName = "Machine_id")]
|
|
public string MachineId { get; set; }
|
|
|
|
[SugarColumn(ColumnName = "Current_Machine_id")]
|
|
public string CurrentMachineId { get; set; }
|
|
|
|
[Navigate(NavigateType.OneToOne, nameof(DrugId))]
|
|
public DrugInfo drugInfo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 请领表
|
|
/// </summary>
|
|
[Navigate(NavigateType.ManyToOne, nameof(DrugPleaseClaimId))]
|
|
public DrugPleaseClaim drugPleaseClaim { get; set; }
|
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
public List<DrugPleaseManuNo> ManuNoList { get; set; }
|
|
}
|
|
}
|