narsil/Tanshu.Accounts.SqlDAO/Fluent/SettleOptionFactory.cs

31 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.Instances;
using NHibernate;
using NHibernate.SqlCommand;
using System.Diagnostics;
using Tanshu.Accounts.Entities;
namespace Tanshu.Accounts.SqlDAO
{
public static class SettleOptionFactory
{
public static SettleOption OUnsettled = new SettleOption() { SettleOptionID = 1, Name = "Unsettled" };
public static SettleOption OCash = new SettleOption() { SettleOptionID = 2, Name = "Cash" };
public static SettleOption OCreditCard = new SettleOption() { SettleOptionID = 3, Name = "CreditCard" };
public static SettleOption ONoCharge = new SettleOption() { SettleOptionID = 4, Name = "NoCharge" };
public static SettleOption OBillToCompany = new SettleOption() { SettleOptionID = 5, Name = "BillToCompany" };
public static SettleOption OStaff = new SettleOption() { SettleOptionID = 6, Name = "Staff" };
public static int Unsettled = 1;
public static int Cash = 2;
public static int CreditCard = 3;
public static int NoCharge = 4;
public static int BillToCompany = 5;
public static int Staff = 6;
}
}