using iWare.Wms.Core.Enum; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace iWare.Wms.Core { /// /// 站点 /// [Table("ware_site")] [Comment("站点")] public class WareSite : DEntityBase { /// /// 库位名称 /// [Comment("库位名称")] public string Name { get; set; } /// /// 库位编码 /// [Comment("库位编码")] public string Code { get; set; } /// /// 描述 /// [Comment("描述")] public string Describe { get; set; } /// /// x坐标 /// [Comment("x坐标")] public decimal Xcoordinate { get; set; } /// /// y坐标 /// [Comment("y坐标")] public decimal Ycoordinate { get; set; } /// /// 站点类型 /// [Comment("站点类型")] public SiteTypeEnum? SiteType { get; set; } /// /// 状态(字典 0正常 1停用 2删除) /// [Comment("状态")] public CommonStatus Status { get; set; } = CommonStatus.ENABLE; /// /// 所属巷道 /// [Comment("所属巷道")] public int? Lane { get; set; } /// /// 操作备注 /// [Comment("操作备注")] public string OperationRemarks { get; set; } /// /// 用户所属线别 /// [Comment("用户所属线别")] public LineTypeEnum? LineType { get; set; } } }