using Furion.DatabaseAccessor;
using iWare.Wms.Core.Enum;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace iWare.Wms.Core;
///
/// 零件信息
///
[Comment("零件信息")]
[Table("wms_part")]
public class WmsPart : DEntityBase
{
///
/// 零件编号
///
[Comment("零件编号")]
public string PartCode { get; set; }
///
/// 零件名称
///
[Comment("零件名称")]
public string PartName { get; set; }
///
/// 端拾器编码
///
public string MaterialCode { get; set; }
///
/// 库位长度
///
[Comment("库位长度")]
public decimal? Length { get; set; }
///
/// 库位宽度
///
[Comment("库位宽度")]
public decimal? Width { get; set; }
///
/// 库位高度
///
[Comment("库位高度")]
public decimal? Height { get; set; }
///
/// 备注
///
[Comment("备注")]
public string Remark { get; set; }
///
/// 状态(字典 0正常 1停用 2删除)
///
[Comment("状态")]
public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
///
/// 生产线
///
[Comment("生产线")]
public LineTypeEnum? LineType { get; set; }
///
/// 车型
///
public string CarType { get; set; }
}