using SqlSugar;

namespace Waste.Domain
{
    /// <summary>
    /// 商户消息推送
    /// </summary>
    public class W_BusinessPush
    {
        /// <summary>
        /// 商户消息推送
        /// </summary>
        public W_BusinessPush()
        {
        }

        private System.Guid _BusinessId;
        /// <summary>
        /// 
        /// </summary>
        public System.Guid BusinessId { get { return this._BusinessId; } set { this._BusinessId = value; } }

        private System.String _PushUrl;
        /// <summary>
        /// 推送地址
        /// </summary>
        public System.String PushUrl { get { return this._PushUrl; } set { this._PushUrl = value?.Trim(); } }

        private System.String _DevCode;
        /// <summary>
        /// 设备唯一编号
        /// </summary>
        public System.String DevCode { get { return this._DevCode; } set { this._DevCode = value?.Trim(); } }

        private System.String _DevName;
        /// <summary>
        /// 设备名称
        /// </summary>
        public System.String DevName { get { return this._DevName; } set { this._DevName = value?.Trim(); } }

        private System.String _Address;
        /// <summary>
        /// 设备地址
        /// </summary>
        public System.String Address { get { return this._Address; } set { this._Address = value?.Trim(); } }

        private System.Decimal _Weight;
        /// <summary>
        /// 毛重
        /// </summary>
        public System.Decimal Weight { get { return this._Weight; } set { this._Weight = value; } }

        private System.Decimal _Tare;
        /// <summary>
        /// 皮重
        /// </summary>
        public System.Decimal Tare { get { return this._Tare; } set { this._Tare = value; } }

        private System.Decimal _PWeight;
        /// <summary>
        /// 净重
        /// </summary>
        public System.Decimal PWeight { get { return this._PWeight; } set { this._PWeight = value; } }

        private System.String _Type;
        /// <summary>
        /// 垃圾类型
        /// </summary>
        public System.String Type { get { return this._Type; } set { this._Type = value?.Trim(); } }

        private System.DateTime _Time;
        /// <summary>
        /// 测量时间
        /// </summary>
        public System.DateTime Time { get { return this._Time; } set { this._Time = value; } }

        private System.Int32 _Cnt;
        /// <summary>
        /// 重试推送的次数
        /// </summary>
        public System.Int32 Cnt { get { return this._Cnt; } set { this._Cnt = value; } }

        private System.DateTime _CreateTime;
        /// <summary>
        /// 添加时间
        /// </summary>
        public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } }
    }
}
