|
|
@@ -0,0 +1,67 @@
|
|
|
+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
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 国内终端预测表
|
|
|
+ /// </summary>
|
|
|
+ [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
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 年
|
|
|
+ /// </summary>
|
|
|
+ [Comment("年")]
|
|
|
+ public int? Year { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 月
|
|
|
+ /// </summary>
|
|
|
+ [Comment("月")]
|
|
|
+ public int? Month { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 产品线
|
|
|
+ /// </summary>
|
|
|
+ [Comment("产品线")]
|
|
|
+ public string? ProdLine { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 规格型号
|
|
|
+ /// </summary>
|
|
|
+ [Comment("规格型号")]
|
|
|
+ public string? Model { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 类别枚举:1-需求总计;2-T1需求总计;3-T2需求总计;4-海王;5-国科
|
|
|
+ /// </summary>
|
|
|
+ [Comment("类别枚举")]
|
|
|
+ public int TypeEnum { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 类别名称
|
|
|
+ /// </summary>
|
|
|
+ [Comment("类别名称")]
|
|
|
+ public string? TypeName { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 计划年月
|
|
|
+ /// </summary>
|
|
|
+ [Comment("计划年月")]
|
|
|
+ public string? PlanMonth { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 产品数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("产品数量")]
|
|
|
+ public decimal? Qty { get; set; }
|
|
|
+ }
|
|
|
+}
|