| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using MongoDB.Bson.Serialization.Attributes;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace Business.Model.MES.IC
- {
- /// <summary>
- /// 物料库存表
- /// </summary>
- [CollectionName("dopbase", "ic_item_stock")]
- [Comment("物料库存表")]
- public class ic_item_stock : BaseEntity
- {
- /// <summary>
- /// 物料id
- /// </summary>
- [Required]
- [Comment("物料id")]
- public long icitem_id { get; set; }
- /// <summary>
- /// 物料名称
- /// </summary>
- [StringLength(80)]
- [Comment("物料名称")]
- public string? icitem_name { get; set; }
- /// <summary>
- /// 物料库存量
- /// </summary>
- [Precision(23, 10)]
- [Comment("物料库存量")]
- public decimal? sqty { get; set; }
- /// <summary>
- /// 调拨在途数量
- /// </summary>
- [Precision(23, 10)]
- [Comment("调拨在途数量")]
- public decimal? quantity_in_transit { get; set; }
- /// <summary>
- /// 工厂编码
- /// </summary>
- [StringLength(80)]
- [Comment("工厂编码")]
- public string? factory_fode { get; set; }
- /// <summary>
- /// 计算id
- /// </summary>
- [Comment("计算id")]
- [NotMapped]
- public long? bang_id { get; set; }
- }
- }
|