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
{
///
/// 年
///
public int Year { get; set; }
///
/// 地区
///
public string Area { get; set; }
///
/// 产品线
///
public string ProdLine { get; set; }
///
/// 产品系列
///
public string ProdRange { get; set; }
///
/// 车间线体
///
public string Line { get; set; }
///
/// 规格型号
///
public string Model { get; set; }
///
/// 计划年月
///
public string PlanMonth { get; set; }
///
/// 数量
///
public decimal Qty { get; set; }
///
/// 排序编码
///
public int OrderNum { get; set; }
///
/// 生命周期
///
public string LifeCycle { get; set; }
///
/// SAP料号
///
public string SAPItemNumber { get; set; }
///
/// 语种
///
public string Languages { get; set; }
///
/// 终端系列销售预测
///
public decimal TerminalSalesForecast { get; set; }
///
/// 规格占比
///
public string SpecificationsProportion { get; set; }
}
}