| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- 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(Area), nameof(Model),nameof(PlanMonth),nameof(tenant_id),nameof(company_id), nameof(factory_id), IsUnique = true)]
- public class OverallDemandPlan : BaseEntity
- {
- /// <summary>
- /// 年
- /// </summary>
- [Comment("年")]
- public int? Year { get; set; }
- /// <summary>
- /// 月
- /// </summary>
- [Comment("月")]
- public int? Month { get; set; }
- /// <summary>
- /// 区域
- /// </summary>
- [Comment("区域")]
- public string Area { get; set; }
- /// <summary>
- /// 规格型号
- /// </summary>
- [Comment("规格型号")]
- public string Model { get; set; }
- /// <summary>
- /// 计划年月
- /// </summary>
- [Comment("计划年月")]
- public string PlanMonth { get; set; }
- /// <summary>
- /// 产品数量
- /// </summary>
- [Comment("产品数量")]
- public decimal Qty { get; set; }
- /// <summary>
- /// 排序编码
- /// </summary>
- [Comment("排序编码")]
- public int OrderNum { get; set; }
- }
- }
|