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(ProdType),nameof(PlanMonth),nameof(tenant_id),nameof(company_id),nameof(factory_id), IsUnique = true)]
public class PlatStockMonitorSetting : BaseEntity
{
///
/// 年
///
[Comment("年")]
public int? Year { get; set; }
///
/// 月
///
[Comment("月")]
public int? Month { get; set; }
///
/// 平台
///
[Comment("平台")]
public string Platform { get; set; }
///
/// 产品类型
///
[Comment("产品类型")]
public string ProdType { get; set; }
///
/// 计划年月
///
[Comment("计划年月")]
public string PlanMonth { get; set; }
///
/// 最低库存覆盖月份
///
[Comment("最低库存覆盖月份")]
public decimal MinTimes { get; set; }
///
/// 最高库存覆盖月份
///
[Comment("最高库存覆盖月份")]
public decimal MaxTimes { get; set; }
///
/// 排序编码
///
[Comment("排序编码")]
public int OrderNum { get; set; }
}
}