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;
|
|
/// <summary>
|
/// 零件信息
|
/// </summary>
|
[Comment("零件信息")]
|
[Table("wms_part")]
|
public class WmsPart : DEntityBase
|
{
|
/// <summary>
|
/// 零件编号
|
/// </summary>
|
[Comment("零件编号")]
|
public string PartCode { get; set; }
|
/// <summary>
|
/// 零件名称
|
/// </summary>
|
[Comment("零件名称")]
|
public string PartName { get; set; }
|
|
/// <summary>
|
/// 端拾器编码
|
/// </summary>
|
public string MaterialCode { get; set; }
|
|
/// <summary>
|
/// 库位长度
|
/// </summary>
|
[Comment("库位长度")]
|
public decimal? Length { get; set; }
|
|
/// <summary>
|
/// 库位宽度
|
/// </summary>
|
[Comment("库位宽度")]
|
public decimal? Width { get; set; }
|
|
/// <summary>
|
/// 库位高度
|
/// </summary>
|
[Comment("库位高度")]
|
public decimal? Height { get; set; }
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[Comment("备注")]
|
public string Remark { get; set; }
|
|
/// <summary>
|
/// 状态(字典 0正常 1停用 2删除)
|
/// </summary>
|
[Comment("状态")]
|
public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
|
|
/// <summary>
|
/// 生产线
|
/// </summary>
|
[Comment("生产线")]
|
public LineTypeEnum? LineType { get; set; }
|
|
/// <summary>
|
/// 车型
|
/// </summary>
|
public string CarType { get; set; }
|
}
|