using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Sugar.Enties
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("code")]
    public partial class code
    {
           public code(){


           }
           /// <summary>
           /// Desc:自动序号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsIdentity=true)]
           public int i_id {get;set;}

           /// <summary>
           /// Desc:科目类型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cclass {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string ccode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ccode_name {get;set;}

           /// <summary>
           /// Desc:编码升次
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string igrade {get;set;}

           /// <summary>
           /// Desc:是否个人往来
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bperson {get;set;}

           /// <summary>
           /// Desc:是否客户往来
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bcus {get;set;}

           /// <summary>
           /// Desc:是否供应商往来
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bsup {get;set;}

           /// <summary>
           /// Desc:是否部门往来
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bdept {get;set;}

           /// <summary>
           /// Desc:是否项目核算
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bitem {get;set;}

           /// <summary>
           /// Desc:项目大类编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cass_item {get;set;}

           /// <summary>
           /// Desc:是否日记账
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string br {get;set;}

           /// <summary>
           /// Desc:是否银行帐
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string be {get;set;}

           /// <summary>
           /// Desc:是否末级
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bend {get;set;}

           /// <summary>
           /// Desc:是否现金科目
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bcash {get;set;}

           /// <summary>
           /// Desc:是否银行科目
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bbank {get;set;}

           /// <summary>
           /// Desc:是否封存
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bclose {get;set;}

    }
}
