using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Waste.Domain
{
    /// <summary>
    /// 更多测量记录
    /// </summary>
    [SugarTable("W_MeasureResult", TableDescription = "更多测量记录", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
    public class W_MeasureResult
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        [SugarColumn(ColumnDescription = "记录ID",IsPrimaryKey =true)]
        public Guid ResultId { get; set; }
        /// <summary>
        /// 物品小类
        /// </summary>
        [SugarColumn(ColumnDescription = "物品小类", ColumnDataType = "nvarchar(100)")]
        public string WasteSType { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        [SugarColumn(ColumnDescription = "价格", ColumnDataType = "decimal(18,2)")]
        public decimal Price { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        [SugarColumn(ColumnDescription = "金额", ColumnDataType = "decimal(18,2)")]
        public decimal Amount { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        [SugarColumn(ColumnDescription = "操作员", ColumnDataType = "nvarchar(100)")]
        public string OpUser { get; set; }
        /// <summary>
        /// 消息ID
        /// </summary>
        [SugarColumn(ColumnDescription = "消息ID", ColumnDataType = "varchar(50)",IndexGroupNameList =new string[] { "index_uuid"})]
        public string UUID { get; set; }

        /// <summary>
        /// 设备出厂序列号/设备出厂编号
        /// </summary>
        public string DeviceFacEcode { get; set; }
        /// <summary>
        /// 车牌号/物品编码/垃圾桶编号
        /// </summary>
        public string Registration { get; set; }
        /// <summary>
        /// 毛重,KG
        /// </summary>
        public string GrossWeight { get; set; }
        /// <summary>
        /// 皮重,KG
        /// </summary>
        public string Tare { get; set; }
        /// <summary>
        /// 净重,KG
        /// </summary>
        public string NetWeight { get; set; }
        public string ID1 { get; set; }
        public string ID2 { get; set; }
        public string ID3 { get; set; }
        public string ID4 { get; set; }
        public string ID5 { get; set; }
        public string ID6 { get; set; }
        public string ID7 { get; set; }
        public string ID8 { get; set; }
        public DateTime? CreatedTime { get; set; }
        public string DataHash { get; set; }
    }
}
