2026-01-26 14:46:56 +08:00

62 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using SqlSugar;
namespace RIZO.Admin.WebApi.PLC.Model
{
/// <summary>
/// PLC返回的工位工序结果
/// </summary>
[SugarTable("plc_operation_result")]
public class PlcOperationResult
{
/// <summary>
/// ID
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 条码
/// </summary>
public string Sn { get; set; }
/// <summary>
/// 工站编码
/// </summary>
public string Workstationcode { get; set; }
/// <summary>
/// 工站结果;1OK2NG
/// </summary>
public int? Result { get; set; }
/// <summary>
/// 数量
/// </summary>
public int? Qty { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "created_by")]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "updated_by")]
public string UpdatedBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
}
}