|
|
|
|
using System;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace SlnMesnac.Model.domain
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[SugarTable("Record_MaterialInput"), TenantAttribute("mes")]
|
|
|
|
|
public class RecordMaterialInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标识
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="obj_id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
|
|
|
|
public int obj_id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备编号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="equip_id" )]
|
|
|
|
|
public string equip_id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 料罐编号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="can_number" )]
|
|
|
|
|
public string can_number { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备类型
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="equip_type" )]
|
|
|
|
|
public string equip_type { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料条码
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="material_barcode" )]
|
|
|
|
|
public string material_barcode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 投入数量
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="input_quantity" )]
|
|
|
|
|
public int? input_quantity { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 投入重量
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="input_weight" )]
|
|
|
|
|
public decimal? input_weight { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否余料
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="is_remainder" )]
|
|
|
|
|
public bool? is_remainder { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余料数量
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="remainder_quantity" )]
|
|
|
|
|
public int? remainder_quantity { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余料重量
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="remainder_weight" )]
|
|
|
|
|
public decimal? remainder_weight { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否开仓:1-开仓;2-只保存
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="is_open" )]
|
|
|
|
|
public int? is_open { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 投料结果:1-成功;0-失败
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="is_flag" )]
|
|
|
|
|
public int? is_flag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="remark" )]
|
|
|
|
|
public string remark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记录时间
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="record_time" )]
|
|
|
|
|
public DateTime? record_time { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|