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