dengjunjie
2025-10-25 3212f32acdce5938956131ecfb530e361250f82f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
{
    [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; }
 
        [SugarColumn(ColumnName = "PalletCode", IsNullable = true, Length = 50, ColumnDescription = "料箱号/托盘号")]
        public string PalletCode { get; set; }
    }
}