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(Month), nameof(Platform), nameof(Model),nameof(ProdType),nameof(PlanMonth),nameof(tenant_id),nameof(company_id),nameof(factory_id), IsUnique = true)]
public class PlatformFcstCollect : BaseEntity
{
///
/// 年
///
[Comment("年")]
public int? Year { get; set; }
///
/// 月
///
[Comment("月")]
public int? Month { get; set; }
///
/// 平台
///
[Comment("平台")]
public string? Platform { get; set; }
///
/// 规格型号
///
[Comment("规格型号")]
public string? Model { get; set; }
///
/// 产品类型
///
[Comment("产品类型")]
public string? ProdType { get; set; }
///
/// 计划年月
///
[Comment("计划年月")]
public string? PlanMonth { get; set; }
///
/// 产品数量
///
[Comment("产品数量")]
public decimal? Qty { get; set; }
}
}