using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.NET.Core
{
///
/// 库口表
///
[Table("wms_warehouse_entrance")]
[Comment("库口表")]
public class WmsWarehouseEntrance : DEntityBase
{
///
/// 名称
///
[Comment("名称")]
[Required, MaxLength(100)]
public string Name { get; set; }
///
/// 编码
///
[Comment("编码")]
[Required, MaxLength(50)]
public string Code { get; set; }
///
/// 类型-1.入库_2.出库
///
[Comment("类型-1.入库口_2.出库口")]
[Required]
public WarehouseEntranceEnum Type { get; set; }
///
/// 所属车间
///
[Comment("所属车间")]
public LesWorkShopType LesWorkShopType { get; set; }
///
/// 所属巷道
///
[Comment("所属巷道")]
public int AffiliatedRoadway { get; set; }
///
/// 备注
///
[Comment("备注")]
[MaxLength(100)]
public string Remark { get; set; }
///
/// 状态(字典 0正常 1停用 2删除)
///
[Comment("状态")]
public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
}
}