using BPA.SAAS.Manage.Comm.Enum;
using BPA.SAAS.Manage.Core.Base;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPA.SAAS.Manage.Core.DataBase
{
[SugarTable("bpa_bomentry")]
public class BPA_BomEntry: IBaseEntity, IGroupId
{
///
/// 物料id
///
[SugarColumn(ColumnDataType = "Nvarchar(64)", IsNullable = false)]
public string BatchingId { get; set; }
///
/// 物料intid
///
public long BatchingKey { get; set; }
///
/// 配方用量
///
public decimal BomQty { get; set; }
///
/// 配方id
///
public string BomId { get; set; }
///
/// 是否可替换
///
public bool IsReplace { get; set; }
///
/// 排序,小炒abc料获取
///
public int sort { get; set; }
///
/// 状态 【正常 停用】默认 正常
///
[SugarColumn(ColumnDataType = "int", ColumnDescription = "状态", IsNullable = false)]
public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
public string GroupId { get; set; }
}
}