narsil/Tanshu.Accounts.Contracts/Data Contracts/PaymentSheetBO.cs

35 lines
855 B
C#
Raw Normal View History

2010-03-02 17:56:21 +00:00
using System;
using System.Runtime.Serialization;
namespace Tanshu.Accounts.Contracts
{
[DataContract]
public class PaymentSheetBO
{
[DataMember]
public Guid SalaryPaymentID { get; set; }
[DataMember]
public Guid LedgerID { get; set; }
[DataMember]
public Guid VoucherID { get; set; }
[DataMember]
public decimal Opening { get; set; }
[DataMember]
public decimal Salary { get; set; }
[DataMember]
public decimal Total
{
get { return Opening + Salary; }
}
[DataMember]
public int Paid { get; set; }
[DataMember]
public decimal Closing
{
get { return (Opening + Salary) - Paid; }
}
[DataMember]
public byte[] timestamp { get; set; }
}
}