using Microsoft.EntityFrameworkCore;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Linq;
|
using System.Reflection.Emit;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace iWare.Wms.Core
|
{
|
[Table("KnifeToolEquipmentMonitor")]
|
[Comment("刀具基本信息")]
|
public class KnifeToolEquipmentMonitor : DEntityBase
|
{
|
|
/// <summary>
|
/// 设备编号
|
/// </summary>
|
[Comment("设备编号")]
|
[MaxLength(32)]
|
public string EquipmentID { get; set; }
|
|
|
/// <summary>
|
/// 工序编号
|
/// </summary>
|
[Comment("工序编号")]
|
[MaxLength(32)]
|
public string WorkingProcedure { get; set; }
|
|
|
/// <summary>
|
/// 备注1
|
/// </summary>
|
[Comment("备注1")]
|
[MaxLength(255)]
|
public string Remarks1 { get; set; }
|
|
|
/// <summary>
|
/// 备注2
|
/// </summary>
|
[Comment("备注2")]
|
[MaxLength(255)]
|
public string Remarks2 { get; set; }
|
|
|
/// <summary>
|
/// 备注3
|
/// </summary>
|
[Comment("备注3")]
|
[MaxLength(255)]
|
public string Remarks3 { get; set; }
|
}
|
|
|
/// <summary>
|
/// 设备刀具详情表
|
/// </summary>
|
[Table("KnifeToolEquipmentInfo")]
|
[Comment("设备刀具详情表")]
|
public class KnifeToolEquipmentInfo : DEntityBase
|
{
|
|
/// <summary>
|
/// 设备编号
|
/// </summary>
|
[Comment("设备编号")]
|
[MaxLength(32)]
|
public string EquipmentID { get; set; }
|
|
|
/// <summary>
|
/// 工序编号
|
/// </summary>
|
[Comment("工序编号")]
|
[MaxLength(32)]
|
public string WorkingProcedure { get; set; }
|
|
|
/// <summary>
|
/// 工位
|
/// </summary>
|
[Comment("工位")]
|
[MaxLength(255)]
|
public string Station { get; set; }
|
|
|
/// <summary>
|
/// 刀具编号
|
/// </summary>
|
[Comment("刀具编号")]
|
[MaxLength(255)]
|
public string KnifeToolID { get; set; }
|
|
|
/// <summary>
|
/// 刀具名称
|
/// </summary>
|
[Comment("刀具名称")]
|
[MaxLength(255)]
|
public string KnifeToolName { get; set; }
|
|
|
/// <summary>
|
/// 换上时寿命
|
/// </summary>
|
[Comment("换上时寿命")]
|
public int? StartLife { get; set; }
|
|
|
/// <summary>
|
/// 当前寿命
|
/// </summary>
|
[Comment("当前寿命")]
|
public int? CurrentLife { get; set; }
|
|
|
/// <summary>
|
/// 换上时间
|
/// </summary>
|
[Comment("换上时间")]
|
public DateTime? ChangeStartTime { get; set; }
|
|
|
/// <summary>
|
/// 备注1
|
/// </summary>
|
[Comment("备注1")]
|
[MaxLength(255)]
|
public string Remarks1 { get; set; }
|
|
|
/// <summary>
|
/// 备注2
|
/// </summary>
|
[Comment("备注2")]
|
[MaxLength(255)]
|
public string Remarks2 { get; set; }
|
|
|
/// <summary>
|
/// 备注3
|
/// </summary>
|
[Comment("备注3")]
|
[MaxLength(255)]
|
public string Remarks3 { get; set; }
|
|
|
}
|
|
/// <summary>
|
/// 设备刀具更换履历表
|
/// </summary>
|
[Table("KnifeToolEquipmentInfoLog")]
|
[Comment("设备刀具更换履历表")]
|
public class KnifeToolEquipmentInfoLog : DEntityBase
|
{
|
|
/// <summary>
|
/// 设备编号
|
/// </summary>
|
[Comment("设备编号")]
|
[MaxLength(32)]
|
public string EquipmentID { get; set; }
|
|
|
/// <summary>
|
/// 工序编号
|
/// </summary>
|
[Comment("工序编号")]
|
[MaxLength(32)]
|
public string WorkingProcedure { get; set; }
|
|
|
/// <summary>
|
/// 工位
|
/// </summary>
|
[Comment("工位")]
|
[MaxLength(255)]
|
public string Station { get; set; }
|
|
|
/// <summary>
|
/// 刀具编号
|
/// </summary>
|
[Comment("刀具编号")]
|
[MaxLength(255)]
|
public string KnifeToolID { get; set; }
|
|
|
/// <summary>
|
/// 刀具名称
|
/// </summary>
|
[Comment("刀具名称")]
|
[MaxLength(255)]
|
public string KnifeToolName { get; set; }
|
|
|
/// <summary>
|
/// 换上时寿命
|
/// </summary>
|
[Comment("换上时寿命")]
|
public int? StartLife { get; set; }
|
|
|
/// <summary>
|
/// 当前寿命
|
/// </summary>
|
[Comment("当前寿命")]
|
public int? CurrentLife { get; set; }
|
|
|
/// <summary>
|
/// 剩余寿命
|
/// </summary>
|
[Comment("剩余寿命")]
|
[MaxLength(255)]
|
public int? ResidueLife { get; set; }
|
|
|
/// <summary>
|
/// 换上时间
|
/// </summary>
|
[Comment("换上时间")]
|
public DateTime? ChangeStartTime { get; set; }
|
|
|
/// <summary>
|
/// 换下时间
|
/// </summary>
|
[Comment("换下时间")]
|
[MaxLength(255)]
|
public DateTime? ChangeEndTime { get; set; }
|
|
|
/// <summary>
|
/// 备注1
|
/// </summary>
|
[Comment("备注1")]
|
[MaxLength(255)]
|
public string Remarks1 { get; set; }
|
|
|
/// <summary>
|
/// 备注2
|
/// </summary>
|
[Comment("备注2")]
|
[MaxLength(255)]
|
public string Remarks2 { get; set; }
|
|
|
/// <summary>
|
/// 备注3
|
/// </summary>
|
[Comment("备注3")]
|
[MaxLength(255)]
|
public string Remarks3 { get; set; }
|
|
|
}
|
/// <summary>
|
/// 设备刀具操作日志表
|
/// </summary>
|
[Table("KnifeToolEquipmentUpdateLog")]
|
[Comment("设备刀具操作日志表")]
|
public class KnifeToolEquipmentUpdateLog : DEntityBase
|
{
|
|
/// <summary>
|
/// 设备编号
|
/// </summary>
|
[Comment("设备编号")]
|
[MaxLength(32)]
|
public string EquipmentID { get; set; }
|
|
|
/// <summary>
|
/// 工序编号
|
/// </summary>
|
[Comment("工序编号")]
|
[MaxLength(32)]
|
public string WorkingProcedure { get; set; }
|
|
|
/// <summary>
|
/// 工位
|
/// </summary>
|
[Comment("工位")]
|
[MaxLength(255)]
|
public string Station { get; set; }
|
|
|
/// <summary>
|
/// 刀具编号
|
/// </summary>
|
[Comment("刀具编号")]
|
[MaxLength(255)]
|
public string KnifeToolID { get; set; }
|
|
|
/// <summary>
|
/// 刀具名称
|
/// </summary>
|
[Comment("刀具名称")]
|
[MaxLength(255)]
|
public string KnifeToolName { get; set; }
|
|
|
/// <summary>
|
/// 换上时寿命
|
/// </summary>
|
[Comment("换上时寿命")]
|
public int? StartLife { get; set; }
|
|
|
/// <summary>
|
/// 当前寿命
|
/// </summary>
|
[Comment("当前寿命")]
|
public int? CurrentLife { get; set; }
|
|
|
/// <summary>
|
/// 剩余寿命
|
/// </summary>
|
[Comment("剩余寿命")]
|
[MaxLength(255)]
|
public int? ResidueLife { get; set; }
|
|
|
/// <summary>
|
/// 换上时间
|
/// </summary>
|
[Comment("换上时间")]
|
public DateTime? ChangeStartTime { get; set; }
|
|
|
/// <summary>
|
/// 换下时间
|
/// </summary>
|
[Comment("换下时间")]
|
[MaxLength(255)]
|
public DateTime? ChangeEndTime { get; set; }
|
|
|
/// <summary>
|
/// 操作描述
|
/// </summary>
|
[Comment("操作描述")]
|
[MaxLength(900)]
|
public string OperateDesc { get; set; }
|
/// <summary>
|
/// 操作类型
|
/// </summary>
|
[Comment("操作类型")]
|
[MaxLength(32)]
|
public string OperateType { get; set; }
|
|
/// <summary>
|
/// 备注1
|
/// </summary>
|
[Comment("备注1")]
|
[MaxLength(255)]
|
public string Remarks1 { get; set; }
|
|
|
/// <summary>
|
/// 备注2
|
/// </summary>
|
[Comment("备注2")]
|
[MaxLength(255)]
|
public string Remarks2 { get; set; }
|
|
|
/// <summary>
|
/// 备注3
|
/// </summary>
|
[Comment("备注3")]
|
[MaxLength(255)]
|
public string Remarks3 { get; set; }
|
|
|
}
|
}
|