39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
using AyCode.Interfaces.Entities;
|
|
using AyCode.Interfaces.TimeStampInfo;
|
|
using FruitBank.Common;
|
|
using FruitBank.Common.Interfaces;
|
|
using LinqToDB;
|
|
using LinqToDB.Mapping;
|
|
using Nop.Core.Domain.Catalog;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Mango.Nop.Core.Entities
|
|
{
|
|
public interface IStockQuantityHistoryExt : IEntityInt
|
|
{
|
|
public int StockQuantityHistoryId { get; set; }
|
|
public double? NetWeightAdjustment { get; set; }
|
|
public double? NetWeight { get; set; }
|
|
public bool IsInconsistent { get; set; }
|
|
}
|
|
|
|
[Table(Name = FruitBankConstClient.StockQuantityHistoryExtDbTableName)]
|
|
[System.ComponentModel.DataAnnotations.Schema.Table(FruitBankConstClient.StockQuantityHistoryExtDbTableName)]
|
|
public class StockQuantityHistoryExt : MgEntityBase, IStockQuantityHistoryExt
|
|
{
|
|
public int StockQuantityHistoryId { get; set; }
|
|
|
|
[Column(DataType = DataType.DecFloat, CanBeNull = true)]
|
|
public double? NetWeightAdjustment { get; set; }
|
|
|
|
[Column(DataType = DataType.DecFloat, CanBeNull = true)]
|
|
public double? NetWeight { get; set; }
|
|
|
|
public bool IsInconsistent { get; set; }
|
|
}
|
|
}
|