ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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; }
}