using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations; namespace Business.Domain { /// ///补货模型物料Z服务水平 /// [Comment("补货模型物料abcfmr")] [Index(nameof(number), nameof(tenant_id), nameof(fversion),nameof(isstandalone), 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? inventoryamount { get; set; } /// /// 出库金额 /// [Precision(20, 8)] [Comment("出库金额")] public decimal? outstockamount { get; set; } /// /// 金额占比 /// [Precision(20, 8)] [Comment("金额占比")] public decimal? amountpercent { get; set; } /// /// ABC分类 /// [StringLength(8)] [Comment("ABC分类")] public string? abc { get; set; } /// /// 出库次数 /// [Precision(20, 8)] [Comment("出库次数")] public decimal? outstockcount { get; set; } /// /// 移动次数 /// [Precision(20, 8)] [Comment("移动次数/月")] public decimal? movecount { get; set; } /// /// 次数占比 /// [Precision(20, 8)] [Comment("次数占比")] public decimal? moveperent { 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; } /// /// 是否独立计算,成品跟产品计算,原材料跟原材料计算 /// [Comment("是否独立计算,成品跟产品计算,原材料跟原材料计算")] public bool isstandalone { get; set; } } }