using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
    /// 
    /// 检验结果
    /// 
    [SugarTable(nameof(Dt_CheckOrderResult), "检验结果")]
    public class Dt_CheckOrderResult : BaseEntity
    {
        /// 
        /// 主键
        /// 
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
        /// 
        /// 检验单主键
        /// 
        [SugarColumn(IsNullable = false, ColumnDescription = "检验单主键")]
        public int CheckOrderId { get; set; }
        /// 
        /// 缺陷代码
        /// 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "缺陷代码")]
        public string DefectCode { get; set; }
        /// 
        /// 检验结果
        /// 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "检验结果")]
        public string Result { get; set; }
        /// 
        /// 数量
        /// 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "数量")]
        public float Quantity { get; set; }
        /// 
        /// 备注
        /// 
        [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "备注")]
        public string Note { get; set; }
    }
}