using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Metadata.Internal; namespace Business.Domain { /// /// 月度产能共识明细表 /// [Comment("月度产能共识明细表")] [Index(nameof(Year), nameof(Month),nameof(PlanMonth), nameof(ProdLine),nameof(Model), nameof(tenant_id),nameof(company_id), nameof(factory_id), IsUnique = true)] public class MonthlyProdCapacityDtl:BaseEntity { /// /// 年 /// [Comment("年")] public int? Year { get; set; } /// /// 月 /// [Comment("月")] public int? Month { get; set; } /// /// 计划年月 /// [Comment("计划年月")] public string PlanMonth { get; set; } /// /// 生产线 /// [Comment("生产线")] public string ProdLine { get; set; } /// /// 规格型号 /// [Comment("规格型号")] public string Model { get; set; } /// /// 预估需要生产数量 /// [Comment("预估需要生产数量")] public decimal Qty { get; set; } } }