27 lines
856 B
C#
27 lines
856 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using FluentNHibernate.Mapping;
|
|
using Tanshu.Accounts.Entities.Auth;
|
|
using System.Collections.Generic;
|
|
|
|
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; }
|
|
public virtual IList<Inventory> Inventories { get; set; }
|
|
public Voucher()
|
|
{
|
|
Inventories = new List<Inventory>();
|
|
}
|
|
}
|
|
}
|