|
|
|
|
using System;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace SlnMesnac.Model.domain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CWSS投料记录
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("Record_CwssInput"), TenantAttribute("mesApi")]
|
|
|
|
|
[DataContract(Name = "CwssInputRecord CWSS 投料记录")]
|
|
|
|
|
public class CwssInputRecord
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="obj_id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
|
|
|
|
public int ObjId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 机台编号,预留可传0
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="equip_id" )]
|
|
|
|
|
public int EquipId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 料罐编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="can_number" )]
|
|
|
|
|
public string CanNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料条码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="material_barcode" )]
|
|
|
|
|
public string MaterialBarcode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 投入数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="input_quantity" )]
|
|
|
|
|
public int InputQuantity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 投入重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="input_weight" )]
|
|
|
|
|
public double InputWeight { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否余料
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="is_remainder" )]
|
|
|
|
|
public bool IsRemainder { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余料数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="remainder_quantity" )]
|
|
|
|
|
public int RemainderQuantity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余料重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="remainder_weight" )]
|
|
|
|
|
public double RemainderWeight { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否开仓:1-开仓;2-只保存
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="is_open" )]
|
|
|
|
|
public int IsOpen { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 投料结果:1-成功;0-失败
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="is_flag" )]
|
|
|
|
|
public int IsFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="remark" )]
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记录时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName="record_time" )]
|
|
|
|
|
public DateTime RecordTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|