|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using AUCMA.STORE.Entity.Enums;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
namespace AUCMA.STORE.Entity.DAO
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 指令操作记录
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("RECORD_DIRECTIVE_OPERATION")]
|
|
|
|
|
public class RecordDirectiveOperation
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="OBJID" ,IsPrimaryKey = true )]
|
|
|
|
|
public string objid { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 任务号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="TASK_CODE" )]
|
|
|
|
|
public string taskCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 指令地址
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="DIRECTIVE_ADDRESS" )]
|
|
|
|
|
public string directiveAddress { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 指令名称
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="DIRECTIVE_NAME" )]
|
|
|
|
|
public string directiveName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据值
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="OPERATION_VALUE" )]
|
|
|
|
|
public string operationValue { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作人员
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="OPERATION_BY" )]
|
|
|
|
|
public decimal? operationBy { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作说明
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="OPERATION_REMARK" )]
|
|
|
|
|
public string operationRemark { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OPERATION_TYPE")]
|
|
|
|
|
public OperationType operationType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 任务类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TASK_TYPE")]
|
|
|
|
|
public TaskType taskType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记录时间
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="RECORD_TIME" )]
|
|
|
|
|
public DateTime? recordTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备编号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "DEVICE_CODE")]
|
|
|
|
|
public string deviceCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属仓库
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "STORE_CODE")]
|
|
|
|
|
public string storeCode { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|