using Ease.Core.DataAccess; using HRM.BO.Assets; using System; using System.Collections.Generic; using System.Linq; namespace HRM.BO { #region AssetSerialTran public class AssetSerialTran : BasicBaseObject { #region Constructor public AssetSerialTran() { BatchNo = string.Empty; //AssetSerialTranAttachment = new AssetSerialTranAttachment(); } #endregion #region Properties public int AssetId { get; set; } public int SerialId { get; set; } public DateTime TranDate { get; set; } public EnumAssetTranType TranType { get; set; } public string BatchNo { get; set; } public int StoreId { get; set; } public int VendorId { get; set; } public bool IsUsing { get; set; } public int? AssetReceiverId { get; set; } public EnumAssetReceiverType AssetReceiverType { get; set; } public int? UserId { get; set; } public bool IsFaultyItem { get; set; } public string Remarks { get; set; } public double Amount { get; set; } public bool? IsTemporaryItem { get; set; } public DateTime? TillDate { get; set; } public DateTime? TentativeDate { get; set; } public DateTime? AssignDate { get; set; } public DateTime? UploadReceiveDate { get; set; } public double damageAmount { get; set; } public string damageRemarks { get; set; } public bool isFinalClerance { get; set; } public int? faultybyEmpID { get; set; } public AssetSerialTranAttachment AssetSerialTranAttachment { get; set; } public EnumAssetHandoverType handoverType { get; set; } #endregion } #endregion public interface IAssetSerialTranService { AssetSerialTran Get(int id); List Get(); int Save(AssetSerialTran item); public double GetDamageAmount(int id); void SaveAssetSerialTranList(List Items); void SaveAssetSerialTranList(TransactionContext tc, List Items); void Delete(int id); //bool SendEmail(Employee mailEmployee); } }