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; }
    }
}
