using System;
using System.Collections.Generic;
using System.Text;
using Edu.Common.Enum.Finance;
using VT.FW.DB;

namespace Edu.Model.Entity.Finance
{
    /// <summary>
    /// 财务单据凭证实体
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "FinanceConnection")]
    public class RB_Voucher
    {
        /// <summary>
        /// ID
        /// </summary>        
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        /// 财务单据ID
        /// </summary>        
        public int? FinanceId
        {
            get;
            set;
        }
        /// <summary>
        /// 交易方式ID
        /// </summary>
        public int? TradeWayId
        {
            get; set;
        }
        /// <summary>
        /// 1、文件，2、图片3、数据
        /// </summary>        
        public VoucherEnum? Type
        {
            get;
            set;
        }
        /// <summary>
        /// 凭证内容
        /// </summary>        
        public string Content
        {
            get;
            set;
        }
    }
}
