using Business.Core.Attributes; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Business.Domain { /// /// 资源检查物料占用明细表 /// [CollectionName("dopbase", "ic_item_stockoccupy")] [Comment("资源检查物料占用明细表")] [Index(nameof(orderentry_id), nameof(icitem_number), nameof(fversion), nameof(tenant_id), nameof(factory_id), IsUnique = true)] public class ic_item_stockoccupy : BaseEntity { /// /// bangid /// [Comment("bangid")] [NotMapped] public long bang_id { get; set; } /// /// 订单id /// [Comment("订单id")] public long order_id { get; set; } /// /// 订单行id /// [Comment("订单行id")] public long orderentry_id { get; set; } /// /// 工单ID /// [Comment("工单ID")] public long? morder_id { get; set; } /// /// 工单编号 /// [Comment("工单编号")] public string morder_mo { get; set; } /// /// 物料id /// [Comment("物料id")] public long icitem_id { get; set; } /// /// 物料编码 /// [StringLength(80)] [Comment("物料编码")] public string icitem_number { get; set; } /// /// 版本号 /// [StringLength(80)] [Comment("版本号")] public string fversion { get; set; } /// /// 占用数量 /// [Comment("占用数量")] public decimal quantity { get; set; } /// /// 项次号 /// [Comment("项次号")] public string item_no { get; set; } } }