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

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


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

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

           /// <summary>
           /// Desc:单据对应数据库表
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cardcode {get;set;}

           /// <summary>
           /// Desc:单据名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cardname {get;set;}

           /// <summary>
           /// Desc:第一前缀
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix1 {get;set;}

           /// <summary>
           /// Desc:第一前缀长度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix1len {get;set;}

           /// <summary>
           /// Desc:第一前缀规则
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix1rule {get;set;}

           /// <summary>
           /// Desc:第二前缀
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix2 {get;set;}

           /// <summary>
           /// Desc:第二前缀长度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix2len {get;set;}

           /// <summary>
           /// Desc:第二前缀规则
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix2rule {get;set;}

           /// <summary>
           /// Desc:第三前缀
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix3 {get;set;}

           /// <summary>
           /// Desc:第三前缀长度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix3len {get;set;}

           /// <summary>
           /// Desc:第三前缀规则
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string prefix3rule {get;set;}

           /// <summary>
           /// Desc:流水号长度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? glidelen {get;set;}

           /// <summary>
           /// Desc:流水号起始值
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string gliderule {get;set;}

    }
}
