narsil/Tanshu.Accounts.Contracts/Data Contracts/VoucherBO.cs
2011-02-01 02:03:22 +05:30

29 lines
907 B
C#

using System;
using System.Runtime.Serialization;
using FluentNHibernate.Mapping;
using Tanshu.Accounts.Entities.Auth;
using System.Collections.Generic;
using Tanshu.Accounts.Contracts;
namespace Tanshu.Accounts.Entities
{
public class Voucher
{
public virtual int VoucherID { get; set; }
public virtual int Code { get; set; }
public virtual string Ref { get; set; }
public virtual DateTime? Date { get; set; }
public virtual string Narration { get; set; }
public virtual User User { get; set; }
public virtual DateTime CreationDate { get; set; }
public virtual DateTime LastEditDate { get; set; }
public virtual char Type { get; set; }
[Cascade]
public virtual IList<Inventory> Inventories { get; set; }
public Voucher()
{
Inventories = new List<Inventory>();
}
}
}