using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Admin.NET.Core { /// /// 托盘库位关系表 /// [Table("wms_containerplace")] [Comment("托盘库位关系表")] public class WmsContainerPlace : DEntityBase { /// /// 库位Id /// [Comment("库位Id")] [Required] public long PlaceId { get; set; } /// /// 库位编码 /// [Comment("库位编码")] [Required] [MaxLength(50)] public string PlaceCode { get; set; } /// /// 托盘Id /// [Comment("托盘Id")] [Required] public long ContainerId { get; set; } /// /// 库位编码 /// [Comment("库位编码")] [Required] [MaxLength(50)] public string ContainerCode { get; set; } /// /// 状态;数据字典 /// [Comment("状态")] [Required] public CommonStatus ContainerPlaceStatus { get; set; } } }