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(Area), nameof(ProdLine),nameof(ProdRange), nameof(Line),nameof(Model),nameof(PlanMonth),nameof(tenant_id), nameof(company_id),nameof(factory_id), IsUnique = true)]
public class YearDemandManagement:BaseEntity
{
///
/// 年
///
[Comment("年")]
public int? Year { get; set; }
///
/// 区域
///
[Comment("区域")]
public string? Area { get; set; }
///
/// 产品线
///
[Comment("产品线")]
public string? ProdLine { get; set; }
///
/// 产品系列
///
[Comment("产品系列")]
public string? ProdRange { get; set; }
///
/// 车间线体
///
[Comment("车间线体")]
public string? Line { get; set; }
///
/// 规格型号
///
[Comment("规格型号")]
public string? Model { get; set; }
///
/// 计划年月
///
[Comment("计划年月")]
public string? PlanMonth { get; set; }
///
/// 产品数量
///
[Comment("产品数量")]
public decimal? Qty { get; set; }
}
}