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
|
{
|
/// <summary>
|
/// 站点
|
/// </summary>
|
[Table("ware_site")]
|
[Comment("站点")]
|
public class WareSite : DEntityBase
|
{
|
/// <summary>
|
/// 库位名称
|
/// </summary>
|
[Comment("库位名称")]
|
public string Name { get; set; }
|
/// <summary>
|
/// 库位编码
|
/// </summary>
|
[Comment("库位编码")]
|
public string Code { get; set; }
|
|
/// <summary>
|
/// 描述
|
/// </summary>
|
[Comment("描述")]
|
public string Describe { get; set; }
|
|
/// <summary>
|
/// x坐标
|
/// </summary>
|
[Comment("x坐标")]
|
public decimal Xcoordinate { get; set; }
|
|
/// <summary>
|
/// y坐标
|
/// </summary>
|
[Comment("y坐标")]
|
public decimal Ycoordinate { get; set; }
|
|
/// <summary>
|
/// 站点类型
|
/// </summary>
|
[Comment("站点类型")]
|
public SiteTypeEnum? SiteType { get; set; }
|
|
/// <summary>
|
/// 状态(字典 0正常 1停用 2删除)
|
/// </summary>
|
[Comment("状态")]
|
public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
|
|
/// <summary>
|
/// 所属巷道
|
/// </summary>
|
[Comment("所属巷道")]
|
public int? Lane { get; set; }
|
|
/// <summary>
|
/// 操作备注
|
/// </summary>
|
[Comment("操作备注")]
|
public string OperationRemarks { get; set; }
|
|
/// <summary>
|
/// 用户所属线别
|
/// </summary>
|
[Comment("用户所属线别")]
|
public LineTypeEnum? LineType { get; set; }
|
}
|
}
|