using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///现金日记账
/// </summary>
public class DayAccount
{
    /// <summary>
    /// id
    /// </summary>
    public int da_id { get; set; }
    /// <summary>
    /// 流水账使用者
    /// </summary>
    public int owner { get; set; }
    /// <summary>
    /// 发生日期
    /// </summary>
    public DateTime? add_date { get; set; }
    /// <summary>
    /// 借贷方向
    /// </summary>
    public string direction { get; set; }
    /// <summary>
    /// 金额
    /// </summary>
    public decimal? amount { get; set; }
    /// <summary>
    /// 客户ID
    /// </summary>
    public int? cus_id { get; set; }
    /// <summary>
    /// 客户
    /// </summary>
    public Customer customer { get; set; }
    /// <summary>
    /// 供应商ID
    /// </summary>
    public int? vd_id { get; set; }
    /// <summary>
    /// 供应商
    /// </summary>
    public Vendor vendor { get; set; }
    /// <summary>
    /// 员工ID
    /// </summary>
    public int? ele_id { get; set; }
    /// <summary>
    /// 员工
    /// </summary>
    public Employee employee { get; set; }
    /// <summary>
    /// 费用ID
    /// </summary>
    public int? cst_id { get; set; }
    /// <summary>
    /// 费用
    /// </summary>
    public Cost cost { get; set; }
    /// <summary>
    /// 摘要
    /// </summary>
    public string digest { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    public string remark { get; set; }
}