2010-03-02 17:56:21 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Runtime.Serialization;
|
2011-01-30 07:14:05 +00:00
|
|
|
|
using FluentNHibernate.Mapping;
|
|
|
|
|
using Tanshu.Accounts.Entities.Auth;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
using Tanshu.Accounts.Contracts;
|
2010-03-02 17:56:21 +00:00
|
|
|
|
|
2011-01-30 07:14:05 +00:00
|
|
|
|
namespace Tanshu.Accounts.Entities
|
2010-03-02 17:56:21 +00:00
|
|
|
|
{
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public class Payment
|
2010-03-02 17:56:21 +00:00
|
|
|
|
{
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual int PaymentID { get; set; }
|
|
|
|
|
public virtual DateTime Date { get; set; }
|
|
|
|
|
public virtual string Type { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[NotNull]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual User Cashier { get; set; }
|
|
|
|
|
public virtual decimal Amount { get; set; }
|
|
|
|
|
public virtual string Narration { get; set; }
|
|
|
|
|
|
2010-03-02 17:56:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|