using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models.SquareCabin
|
{
|
|
[SugarTable("Dt_Inventory", "库存表")]
|
public class Dt_Inventory:BaseEntity
|
{
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
public int Id { get; set; }
|
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "药品编码")]
|
public string Goods_no { get; set; }
|
|
//区域(自己建立或者他们直接给出来)
|
[SugarColumn(ColumnName = "Reservoirarea", IsNullable = true, Length = 50, ColumnDescription = "库区")]
|
public string Reservoirarea { get; set; }
|
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "批号")]
|
public string Batch_num { get; set; }
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "业务库存数量")]
|
public decimal Business_qty { get; set; }
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "实际库存数量")]
|
public decimal Actual_qty { get; set; }
|
|
//加个效期
|
[SugarColumn(ColumnName = "Exp_date", IsNullable = true, Length = 8, ColumnDescription = "校期(yyyymmmdd)")]
|
public string Exp_date { get; set; }
|
}
|
}
|