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