//-----------------------------------------------------------------------
//
// * Copyright (C) 2021 KEHAIDASOFT All Rights Reserved
// * version : 4.0.30319.42000
// * author : khd by t4-2
//
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Khd.Core.Domain.Models
{
[Table("wms_product_instock")]
public class WmsProductInstock
{
[Key]
[Column("product_instock_id")]
public long productInstockId { get; set; }
///
/// 任务编号
///
[Column("task_code")]
public string taskCode { get; set; }
///
/// 仓库ID
///
[Column("warehouse_id")]
public long warehouseId { get; set; }
///
/// 库位编码
///
[Column("location_code")]
public string locationCode { get; set; }
///
/// 成品类型(2半成品,3成品)
///
[Column("product_type")]
public string productType { get; set; }
///
/// 操作类型(0自动,1人工,2强制,3调度);调度,适合双排库自动移库时
///
[Column("operation_type")]
public string operationType { get; set; }
///
/// 计划编号,关联pd_base_plan_info的plan_code
///
[Column("plan_code")]
public string planCode { get; set; }
///
/// 计划明细编号,关联pd_base_plan_detail的plan_detail_code
///
[Column("plan_detail_code")]
public string planDetailCode { get; set; }
///
/// 入库类型(1生产入库,2出半成品库,9其他入库)
///
[Column("instock_type")]
public string instockType { get; set; }
///
/// 申请原因
///
[Column("apply_reason")]
public string applyReason { get; set; }
///
/// 审核原因
///
[Column("audit_reason")]
public string auditReason { get; set; }
///
/// 审核状态(0待审核,1审核通过,2审核未通过)
///
[Column("audit_status")]
public string auditStatus { get; set; }
///
/// 执行状态(0待执行,1执行中,2执行完成)
///
[Column("execute_status")]
public string executeStatus { get; set; }
///
/// 申请人
///
[Column("apply_by")]
public string applyBy { get; set; }
///
/// 申请时间
///
[Column("apply_date")]
public DateTime? applyDate { get; set; }
///
/// 审核人
///
[Column("audit_by")]
public string auditBy { get; set; }
///
/// 审核时间
///
[Column("audit_date")]
public DateTime? auditDate { get; set; }
///
/// 最后更新人
///
[Column("update_by")]
public string updateBy { get; set; }
///
/// 最后更新时间
///
[Column("update_date")]
public DateTime? updateDate { get; set; }
///
/// 开始时间;AGV处理开始时间
///
[Column("begin_time")]
public DateTime? beginTime { get; set; }
///
/// 结束时间;agv处理结束时间
///
[Column("end_time")]
public DateTime? endTime { get; set; }
}
}