| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Business.Model.MES.IC
- {
- /// <summary>
- /// 物料库存明细表
- /// </summary>
- [CollectionName("dopbase", "ic_item_inventory")]
- [Comment("物料库存明细表")]
- public class ic_item_inventory:BaseEntity
- {
- /// <summary>
- /// 物料库存主键
- /// </summary>
- [Required]
- [Comment("物料库存主键")]
- public long icitem_stock_id { get; set; }
- /// <summary>
- /// 仓库id
- /// </summary>
- [Required]
- [Comment("仓库id")]
- public long stock_id { get; set; }
- /// <summary>
- /// 仓库名称
- /// </summary>
- [StringLength(80)]
- [Comment("仓库名称")]
- public string? stock_name { get; set; }
- /// <summary>
- /// 库位id
- /// </summary>
- [Required]
- [Comment("库位id")]
- public long stock_place_id { get; set; }
- /// <summary>
- /// 库位编码
- /// </summary>
- [StringLength(80)]
- [Comment("库位编码")]
- public string? stock_place_code { get; set; }
- /// <summary>
- /// 批次号
- /// </summary>
- [StringLength(80)]
- [Comment("批次号")]
- public string? batch_no { get; set; }
- /// <summary>
- /// 数量
- /// </summary>
- [Precision(23, 10)]
- [Comment("数量")]
- public decimal? qty { get; set; }
- /// <summary>
- /// 金额
- /// </summary>
- [Precision(23, 10)]
- [Comment("金额")]
- public decimal? bal { get; set; }
- /// <summary>
- /// 保质期时长
- /// </summary>
- [Precision(23, 10)]
- [Comment("保质期时长")]
- public decimal? kf_period { get; set; }
- /// <summary>
- /// 保质期时间
- /// </summary>
- [Comment("保质期时间")]
- public DateTime? kf_date { get; set; }
- /// <summary>
- /// 锁定库存
- /// </summary>
- [Precision(23, 10)]
- [Comment("锁定库存")]
- public decimal? qty_lock { get; set; }
- /// <summary>
- /// 安全库存
- /// </summary>
- [Precision(23, 10)]
- [Comment("安全库存")]
- public decimal? sec_qty { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- [StringLength(80)]
- [Comment("单位")]
- public string? unit { get; set; }
- /// <summary>
- /// 日期
- /// </summary>
- [Comment("日期")]
- public DateTime? rq { get; set; }
- }
- }
|