using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
namespace WIDESEAWCS_Model.Models
{
[SugarTable(nameof(Dt_ProcessInfo), "加工信息表")]
public class Dt_ProcessInfo : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 工装板编号
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "工装板编号")]
public string PalletCode { get; set; }
///
/// 成品编号
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品编号")]
public string ProductCode { get; set; }
///
/// 成品名称
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品名称")]
public string ProductName { get; set; }
///
/// 流水号
///
[SugarColumn(IsNullable = true, Length = 100, ColumnDescription = "流水号")]
public string ProductSn { get; set; }
///
/// 压装拧紧_拧紧OK
///
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "压装拧紧_拧紧OK")]
public int? PressTightenOk { get; set; }
///
/// 压装拧紧_本次加工未完成
///
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "压装拧紧_本次加工未完成")]
public int? PressTightenUnfinished { get; set; }
///
/// 产品状态
/// 0 - 不合格
/// 1 - 合格
/// 2 - 人工确认合格
///
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "产品状态")]
public int? ProductStatus { get; set; }
///
/// 压装位拧紧检测扭力
///
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位拧紧检测扭力")]
public decimal? ScrewTorque { get; set; }
///
/// 压装位拧紧检测角度
///
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位拧紧检测角度")]
public decimal? ScrewAngle { get; set; }
///
/// 压装位下压压力
///
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位下压压力")]
public decimal? PressPressure { get; set; }
///
/// 产品检测高度
///
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "产品检测高度")]
public decimal? ProductCheckHeight { get; set; }
///
/// 螺纹位置高度
///
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "螺纹位置高度")]
public decimal? ThreadPositionHeight { get; set; }
///
/// 拧紧位检测高度1
///
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "拧紧位检测高度1")]
public decimal? Height1 { get; set; }
///
/// 拧紧位检测高度2
///
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "拧紧位检测高度2")]
public decimal? Height2 { get; set; }
///
/// 拧紧位检测高度3
///
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "拧紧位检测高度3")]
public decimal? Height3 { get; set; }
}
}