zoukankan      html  css  js  c++  java
  • 实体类定义

    数据类型后面的问号表示该变量可以为NULL
    /// <summary>
    /// 实体类-销售单据
    /// </summary>
    public class SaleForm
    {
        private string _formID;//单据ID
        private string _shopID;//店铺ID
        private string _formNO;//单据流水号
        private DateTime? _beginTime;//单据生成时间 
        private DateTime? _checkoutTime;//单据提交时间
        private float _mustAccount;//应收
        private float _zeroAccount;//免零
        private float _actualAccount;//实收
        private float _changeAccount;//找零
        private string _userID;//收银员ID
        /// <summary>
        
    /// 单据ID
        
    /// </summary>
        public string FormID
        {
            get { return _formID; }
            set { _formID = value; }
        }
        /// <summary>
        
    /// 店铺ID
        
    /// </summary>
        public string ShopID
        {
            get { return _shopID; }
            set { _shopID = value; }
        }
        /// <summary>
        
    /// 单据流水号
        
    /// </summary>
        public string FormNO
        {
            get { return _formNO; }
            set { _formNO = value; }
        }
        /// <summary>
        
    /// 单据生成时间 
        
    /// </summary>
        public DateTime? BeginTime
        {
            get { return _beginTime; }
            set { _beginTime = value; }
        }
        /// <summary>
        
    /// 单据提交时间
        
    /// </summary>
        public DateTime? CheckoutTime
        {
            get { return _checkoutTime; }
            set { _checkoutTime = value; }
        }
        /// <summary>
        
    /// 应收
        
    /// </summary>
        public float MustAccount
        {
            get { return _mustAccount; }
            set { _mustAccount = value; }
        }
        /// <summary>
        
    /// 免零
        
    /// </summary>
        public float ZeroAccount
        {
            get { return _zeroAccount; }
            set { _zeroAccount = value; }
        }
        /// <summary>
        
    /// 实收
        
    /// </summary>
        public float ActualAccount
        {
            get { return _actualAccount; }
            set { _actualAccount = value; }
        }
        /// <summary>
        
    /// 找零
        
    /// </summary>
        public float ChangeAccount
        {
            get { return _changeAccount; }
            set { _changeAccount = value; }
        }
        /// <summary>
        
    /// 收银员ID
        
    /// </summary>
        public string UserID
        {
            get { return _userID; }
            set { _userID = value; }
        }
    }  
  • 相关阅读:
    js导出excel增加表头、mso-number-format定义数据格式
    $.each() 与 $(selector).each()的区别
    【Linux常用命令】Linux kill, killall, kill -9,
    Shell 语法报错记录
    【常用脚本记录1----挂测问题脚本】
    【】系统一启动就会运行的程序
    【WAN】PPPOE宽带上网功能详解
    解决linux awk:line的问题
    Ubuntu 16.04安装测试MQTT Mosquitto
    【TCP协议详解】
  • 原文地址:https://www.cnblogs.com/sydeveloper/p/2647173.html
Copyright © 2011-2022 走看看