using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/*
* @author : 刘文奇
* @date : 2024/4/23下午4:03:17
* @desc : 替代品管理
*/
namespace Admin.NET.Core
{
///
/// 替代品管理
///
[Table("wms_substitute_good")]
[Comment("替代品管理")]
public class WmsSubstituteGood : DEntityBase
{
///
/// 替代编号
///
[Comment("替代编号")]
[Required]
[MaxLength(50)]
public string SubstituteCode { get; set; }
///
/// 物料编号
///
[Comment("物料编号")]
[Required]
[MaxLength(50)]
public string MaterialCode { get; set; }
///
/// 物料名称
///
[Comment("物料名称")]
[Required]
[MaxLength(50)]
public string MaterialName { get; set; }
///
/// 替代品物料编号
///
[Comment("替代品物料编号")]
[Required]
[MaxLength(50)]
public string SubstituteMaterialCode { get; set; }
///
/// 替代品物料名称
///
[Comment("替代品物料名称")]
[Required]
[MaxLength(50)]
public string SubstituteMaterialName { get; set; }
///
/// 替代次序
///
[Comment("替代次序")]
[Required]
public int SubstituteIndex { get; set; }
///
/// 是否禁用
///
[Comment("是否禁用")]
[Required]
public bool IsDisabled { get; set; }
}
}