schangxiang@126.com
2024-04-23 f47411fb53aeee0c7bd514cbc841f9030349f448
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
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace Admin.NET.Core
{
    /// <summary>
    /// 工位表
    /// </summary>
    [Table("les_station")]
    [Comment("工位表")]
    public class LesStation : DEntityBase
    {
        /// <summary>
        /// 产线Id
        /// </summary>
        [Comment("产线Id")]
        public long ProductionlineId { get; set; }
 
        /// <summary>
        /// 工位名称
        /// </summary>
        [Comment("工位名称")]
        [MaxLength(50)]
        public string Name { get; set; }
 
        /// <summary>
        /// 工位编码
        /// </summary>
        [Comment("工位编码")]
        [MaxLength(50)]
        public string Code { get; set; }
 
        /// <summary>
        /// 工位状态
        /// </summary>
        [Comment("工位状态")]
        public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
 
        /// <summary>
        /// 运行状态
        /// </summary>
        [Comment("运行状态")]
        public PlaceStatus StataionStatus { get; set; } = PlaceStatus.KONGXIAN;
 
        /// <summary>
        /// 库位编码
        /// </summary>
        [Comment("库位编码")]
        [MaxLength(50)]
        public string ContainerCode { get; set; }
 
        /// <summary>
        /// 库位规格
        /// </summary>
        [Comment("库位规格")]
        public decimal PlaceSpec { get; set; }
 
        /// <summary>
        /// 产线表
        /// </summary>
        //public LesProductionline LesProductionline { get; set; }
    }
}