|
|
@@ -0,0 +1,134 @@
|
|
|
+using Business.Core.Attributes;
|
|
|
+using Business.Model;
|
|
|
+using Microsoft.EntityFrameworkCore;
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.ComponentModel.DataAnnotations;
|
|
|
+using System.Linq;
|
|
|
+using System.Text;
|
|
|
+using System.Threading.Tasks;
|
|
|
+
|
|
|
+namespace Bussiness.Model.Bang
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 物料齐套明细
|
|
|
+ /// </summary>
|
|
|
+ [CollectionName("dopbang", "b_order_detail")]
|
|
|
+ [Comment("物料齐套明细")]
|
|
|
+ public class b_order_detail : BaseEntity
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 工单齐套检查id
|
|
|
+ /// </summary>
|
|
|
+ [Comment("工单齐套检查id")]
|
|
|
+ public long? order_examine_id { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 物料id
|
|
|
+ /// </summary>
|
|
|
+ [Comment("物料id")]
|
|
|
+ public long? item_id { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// bom编号
|
|
|
+ /// </summary>
|
|
|
+ [Comment("bom编号")]
|
|
|
+ public string? bom_number { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 物料编号
|
|
|
+ /// </summary>
|
|
|
+ [Comment("物料编号")]
|
|
|
+ public string? item_number { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 物料名称
|
|
|
+ /// </summary>
|
|
|
+ [Comment("物料名称")]
|
|
|
+ public string? item_name { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 用量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("用量")]
|
|
|
+ public decimal? qty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 本级缺料数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("本级缺料数量")]
|
|
|
+ public decimal? self_lack_qty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 库存数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("库存数量")]
|
|
|
+ public decimal? sqty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 库存占用数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("库存占用数量")]
|
|
|
+ public decimal? use_qty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 在制占用数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("在制占用数量")]
|
|
|
+ public decimal? mo_qty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 自制数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("自制数量")]
|
|
|
+ public decimal? make_qty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 采购数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("采购数量")]
|
|
|
+ public decimal? purchase_qty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 采购明细占用数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("采购明细占用数量")]
|
|
|
+ public decimal? purchase_occupy_qty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 委外数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("委外数量")]
|
|
|
+ public decimal? subcontracting_qty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 齐套时间
|
|
|
+ /// </summary>
|
|
|
+ [Comment("齐套时间")]
|
|
|
+ public DateTime? kitting_time { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 群组代码
|
|
|
+ /// </summary>
|
|
|
+ [Comment("群组代码")]
|
|
|
+ public string? substitute_code { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 替代策略
|
|
|
+ /// </summary>
|
|
|
+ [Comment("替代策略")]
|
|
|
+ public int? substitute_strategy { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 替代方式
|
|
|
+ /// </summary>
|
|
|
+ [Comment("替代方式")]
|
|
|
+ public int? substitute_mode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否使用此物料
|
|
|
+ /// </summary>
|
|
|
+ [Comment("是否使用此物料")]
|
|
|
+ public bool? is_use { get; set; }
|
|
|
+ }
|
|
|
+}
|