| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Entities.PersonnelModule
- {
- /// <summary>
- /// 物品入库表
- /// </summary>
- [SugarTable(tableName: "Pm_GoodsStorage", tableDescription: "物品入库表")]
- public class Pm_GoodsStorage : EntityBase
- {
- /// <summary>
- /// 商品Id
- /// Pm_GoodsInfo Id
- /// </summary>
- [SugarColumn(ColumnDescription = "商品Id", IsNullable = true, ColumnDataType = "int")]
- public int GoodsId { get; set; }
- /// <summary>
- /// 批次号
- /// </summary>
- [SugarColumn(ColumnDescription = "批次号", IsNullable = true, ColumnDataType = "varchar(50)")]
- public string? BatchNo { get; set; }
- /// <summary>
- /// 此批次领用数量
- /// </summary>
- [SugarColumn(ColumnDescription = "此批次领用数量", IsNullable = true, ColumnDataType = "decimal(10,2)")]
- public decimal ReceiveQuantity { get; set; }
- /// <summary>
- /// 此次入库数量
- /// </summary>
- [SugarColumn(ColumnDescription = "此次入库数量", IsNullable = true, ColumnDataType = "decimal(10,2)")]
- public decimal Quantity { get; set; }
- /// <summary>
- /// 此次物品单价
- /// </summary>
- [SugarColumn(ColumnDescription = "此次数量单价", IsNullable = true, ColumnDataType = "decimal(10,2)")]
- public decimal UnitPrice { get; set; }
- /// <summary>
- /// 此次物品总价
- /// </summary>
- [SugarColumn(ColumnDescription = "此次物品总价", IsNullable = true, ColumnDataType = "decimal(10,2)")]
- public decimal TotalPrice { get; set; }
- /// <summary>
- /// 此次供应商名称
- /// </summary>
- [SugarColumn(ColumnDescription = "此次供应商名称", IsNullable = true, ColumnDataType = "varchar(100)")]
- public string? SupplierName { get; set; }
- /// <summary>
- /// 此次供应商电话
- /// </summary>
- [SugarColumn(ColumnDescription = "此次供应商电话", IsNullable = true, ColumnDataType = "varchar(30)")]
- public string? SupplierTel { get; set; }
- /// <summary>
- /// 此次供应商地址
- /// </summary>
- [SugarColumn(ColumnDescription = "此次供应商地址", IsNullable = true, ColumnDataType = "varchar(200)")]
- public string? SupplierAddress { get; set; }
- /// <summary>
- /// 此次供应商来源
- /// </summary>
- [SugarColumn(ColumnDescription = "此次供应商来源", IsNullable = true, ColumnDataType = "varchar(200)")]
- public string? SupplierSource { get; set; }
- /// <summary>
- /// 入库人
- /// </summary>
- [SugarColumn(ColumnDescription = "入库人", IsNullable = true, ColumnDataType = "int")]
- public int StorageUserId { get; set; }
- /// <summary>
- /// 入库时间
- /// </summary>
- [SugarColumn(ColumnDescription = "入库时间", IsNullable = true, ColumnDataType = "varchar(30)")]
- public string? StorageTime { get; set; }
- }
- }
|