using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations; namespace Business.Domain { /// ///补货模型物料Z服务水平 /// [Comment("补货模型物料abcfmr")] [Index(nameof(number), nameof(tenant_id), nameof(fversion), nameof(factory_id), IsUnique = true)] public class ReplenishmentServiceLevel : BaseEntity { /// /// 物料编码 /// [StringLength(80)] [Comment("物料编码")] public string number { get; set; } /// /// 物料名称 /// [StringLength(200)] [Comment("物料名称")] public string name { get; set; } /// /// 规格型号 /// [StringLength(200)] [Comment("规格型号")] public string model { get; set; } /// /// RS50成品 RS30 组件 RS11 原材料 RS12 零件 RS13 包装材料 RS14 辅料 RS15 低值易耗品 RS99 虚拟物料 /// [StringLength(50)] [Comment("物料类型")] public string item_type { get; set; } /// /// 版本号 /// [StringLength(80)] [Comment("版本号")] public string? fversion { get; set; } /// /// 总移库次数 /// [Precision(20, 8)] [Comment("总移库次数")] public decimal? totalCount { get; set; } /// /// 月均出库次数 /// [Precision(20, 8)] [Comment("月均出库次数")] public decimal? avgOutStock { get; set; } /// /// 总出货金额 /// [Precision(20, 8)] [Comment("总出货金额")] public decimal? totalPrice { get; set; } /// /// 物料出货金额 /// [Precision(20, 8)] [Comment("物料出货金额")] public decimal? Price { get; set; } /// /// ABC分类 /// [StringLength(8)] [Comment("ABC分类")] public string? abc { get; set; } /// /// FMR分类 /// [StringLength(8)] [Comment("FMR分类")] public string? fmr { get; set; } /// /// Z服务水平参数 /// [Precision(20, 8)] [Comment("Z服务水平参数")] public decimal? service_level_pct { get; set; } } }