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; namespace Business.Domain { /// /// 国内终端预测表 /// [Comment("国内终端预测表")] [Index(nameof(Year), nameof(Month), nameof(ProdLine), nameof(Model),nameof(TypeEnum),nameof(PlanMonth),nameof(tenant_id), nameof(company_id),nameof(factory_id), IsUnique = true)] public class DomesticTerminalFcst:BaseEntity { /// /// 年 /// [Comment("年")] public int? Year { get; set; } /// /// 月 /// [Comment("月")] public int? Month { get; set; } /// /// 产品线 /// [Comment("产品线")] public string? ProdLine { get; set; } /// /// 规格型号 /// [Comment("规格型号")] public string? Model { get; set; } /// /// 类别枚举:1-需求总计;2-T1需求总计;3-T2需求总计;4-海王;5-国科 /// [Comment("类别枚举")] public int TypeEnum { get; set; } /// /// 类别名称 /// [Comment("类别名称")] public string? TypeName { get; set; } /// /// 计划年月 /// [Comment("计划年月")] public string? PlanMonth { get; set; } /// /// 产品数量 /// [Comment("产品数量")] public decimal? Qty { get; set; } } }