//------------------------------------------------------------------------------
// <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 TblEVoucherCategory
    {
        public TblEVoucherCategory()
        {
            this.TblEVouchers = new HashSet<TblEVoucher>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public string Prefix { get; set; }
        public string CategoryName { get; set; }
        public Nullable<bool> Decommissioned { get; set; }
        public Nullable<int> SalesVenue { get; set; }
        public Nullable<decimal> VoucherValue { get; set; }
        public string SMSTemplate { get; set; }
        public string FullName { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<bool> IsCBC { get; set; }
        public string HTMLTemplate { get; set; }
        public string LogoURL { get; set; }
        public string MainURL { get; set; }
        public string BannerURL { get; set; }
        public string Subject { get; set; }
    
        public virtual ICollection<TblEVoucher> TblEVouchers { get; set; }
        public virtual TblSalesVenue TblSalesVenue { get; set; }
    }
}
