16 lines
394 B
C#
16 lines
394 B
C#
|
using FluentNHibernate.Mapping;
|
|||
|
|
|||
|
namespace FirmTracker_Server.nHibernate.Reports
|
|||
|
{
|
|||
|
public class ReportExpenseMapping : ClassMap<ReportExpense>
|
|||
|
{
|
|||
|
public ReportExpenseMapping()
|
|||
|
{
|
|||
|
Table("ReportExpenses");
|
|||
|
Id(x => x.Id);
|
|||
|
References(x => x.ReportId, "ReportId");
|
|||
|
References(x => x.ExpenseId, "ExpenseId");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|