| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- 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
- {
- /// <summary>
- /// 月度产能共识明细表
- /// </summary>
- [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
- {
- /// <summary>
- /// 年
- /// </summary>
- [Comment("年")]
- public int? Year { get; set; }
- /// <summary>
- /// 月
- /// </summary>
- [Comment("月")]
- public int? Month { get; set; }
- /// <summary>
- /// 计划年月
- /// </summary>
- [Comment("计划年月")]
- public string PlanMonth { get; set; }
- /// <summary>
- /// 生产线
- /// </summary>
- [Comment("生产线")]
- public string ProdLine { get; set; }
- /// <summary>
- /// 规格型号
- /// </summary>
- [Comment("规格型号")]
- public string Model { get; set; }
- /// <summary>
- /// 预估需要生产数量
- /// </summary>
- [Comment("预估需要生产数量")]
- public decimal Qty { get; set; }
- }
- }
|