94 lines
2.8 KiB
C#
94 lines
2.8 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using SqlSugar;
|
|||
|
|
|||
|
namespace DM_Weight.Models
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 盘点后药品库存数
|
|||
|
/// </summary>
|
|||
|
[SugarTable("check_stock")]
|
|||
|
public class CheckRecordStockSqlSugar
|
|||
|
{
|
|||
|
[SugarColumn(ColumnName ="id",IsPrimaryKey = true)]
|
|||
|
public int ID { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 抽屉号
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "drawer_no")]
|
|||
|
public int rowNo { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 列号
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "col_no")]
|
|||
|
public int colNo { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 数量
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "quantity")]
|
|||
|
public int quantity { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 批次
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "manu_no")]
|
|||
|
public string manuNo { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 效期
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "eff_date")]
|
|||
|
public string effDate { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 药品名称
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(IsIgnore =true)]
|
|||
|
public string drugName { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 规格
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(IsIgnore = true)]
|
|||
|
public string drugSpec { get; set; }
|
|||
|
//
|
|||
|
[SugarColumn(IsIgnore = true)]
|
|||
|
public string packUnit { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 厂商
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(IsIgnore = true)]
|
|||
|
public string manufactory { get; set; }
|
|||
|
[SugarColumn(IsIgnore = true)]
|
|||
|
public int maxStock { get; set; }
|
|||
|
[SugarColumn(ColumnName = "drug_id")]
|
|||
|
public string drugId { get; set; }
|
|||
|
[SugarColumn(ColumnName = "machine_id")]
|
|||
|
public string MachineId { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 批次总库存
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "check_quantity")]
|
|||
|
public int ManuQuantity { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 操作时间
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "check_time")]
|
|||
|
public string optdate { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 操作人
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "operator")]
|
|||
|
public string operatorUser { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 审核人
|
|||
|
/// </summary>
|
|||
|
[SugarColumn(ColumnName = "reviewer")]
|
|||
|
public string reviewerUser { get; set; }
|
|||
|
|
|||
|
public List<CheckRecordStock> manuNoDetails { get;set; }
|
|||
|
|
|||
|
[Navigate(NavigateType.OneToOne, nameof(drugId))]
|
|||
|
public DrugInfo DrugInfo { get; set; }
|
|||
|
}
|
|||
|
}
|