66 lines
2.2 KiB
C#
66 lines
2.2 KiB
C#
|
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<AssetSerialTran> Get();
|
|||
|
int Save(AssetSerialTran item);
|
|||
|
public double GetDamageAmount(int id);
|
|||
|
void SaveAssetSerialTranList(List<AssetSerialTran> Items);
|
|||
|
void SaveAssetSerialTranList(TransactionContext tc, List<AssetSerialTran> Items);
|
|||
|
void Delete(int id);
|
|||
|
//bool SendEmail(Employee mailEmployee);
|
|||
|
}
|
|||
|
}
|