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
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 工装板编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "工装板编号")]
|
public string PalletCode { get; set; }
|
|
/// <summary>
|
/// 成品编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品编号")]
|
public string ProductCode { get; set; }
|
|
/// <summary>
|
/// 成品名称
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品名称")]
|
public string ProductName { get; set; }
|
|
/// <summary>
|
/// 流水号
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 100, ColumnDescription = "流水号")]
|
public string ProductSn { get; set; }
|
|
/// <summary>
|
/// 压装拧紧_拧紧OK
|
/// </summary>
|
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "压装拧紧_拧紧OK")]
|
public int? PressTightenOk { get; set; }
|
|
/// <summary>
|
/// 压装拧紧_本次加工未完成
|
/// </summary>
|
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "压装拧紧_本次加工未完成")]
|
public int? PressTightenUnfinished { get; set; }
|
|
/// <summary>
|
/// 产品状态
|
/// 0 - 不合格
|
/// 1 - 合格
|
/// 2 - 人工确认合格
|
/// </summary>
|
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "产品状态")]
|
public int? ProductStatus { get; set; }
|
|
/// <summary>
|
/// 压装位拧紧检测扭力
|
/// </summary>
|
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位拧紧检测扭力")]
|
public decimal? ScrewTorque { get; set; }
|
|
/// <summary>
|
/// 压装位拧紧检测角度
|
/// </summary>
|
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位拧紧检测角度")]
|
public decimal? ScrewAngle { get; set; }
|
|
/// <summary>
|
/// 压装位下压压力
|
/// </summary>
|
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位下压压力")]
|
public decimal? PressPressure { get; set; }
|
|
/// <summary>
|
/// 产品检测高度
|
/// </summary>
|
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "产品检测高度")]
|
public decimal? ProductCheckHeight { get; set; }
|
|
/// <summary>
|
/// 螺纹位置高度
|
/// </summary>
|
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "螺纹位置高度")]
|
public decimal? ThreadPositionHeight { get; set; }
|
|
/// <summary>
|
/// 拧紧位检测高度1
|
/// </summary>
|
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "拧紧位检测高度1")]
|
public decimal? Height1 { get; set; }
|
|
/// <summary>
|
/// 拧紧位检测高度2
|
/// </summary>
|
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "拧紧位检测高度2")]
|
public decimal? Height2 { get; set; }
|
|
/// <summary>
|
/// 拧紧位检测高度3
|
/// </summary>
|
[SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "拧紧位检测高度3")]
|
public decimal? Height3 { get; set; }
|
}
|
}
|