//------------------------------------------------------------------------------
// <auto-generated>
//    This code was generated from a template.
//
//    Manual changes to this file may cause unexpected behavior in your application.
//    Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace ERD
{
    using System;
    using System.Collections.Generic;
    
    public partial class TblEVoucherType
    {
        public TblEVoucherType()
        {
            this.TblEVouchers = new HashSet<TblEVoucher>();
            this.TblEVoucherType1 = new HashSet<TblEVoucherType>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public string Type { get; set; }
        public string Prefix { get; set; }
        public Nullable<int> SalesVenue { get; set; }
        public string HTMLTemplate1 { get; set; }
        public string SMSTemplate { get; set; }
        public string FullType { get; set; }
        public Nullable<int> RotationNumber { get; set; }
        public Nullable<int> RotationLinksTo { get; set; }
        public Nullable<int> CurrentRotation { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual ICollection<TblEVoucher> TblEVouchers { get; set; }
        public virtual ICollection<TblEVoucherType> TblEVoucherType1 { get; set; }
        public virtual TblEVoucherType TblEVoucherType2 { get; set; }
        public virtual TblSalesVenue TblSalesVenue { get; set; }
    }
}
