|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using AUCMA.STORE.Entity.Enums;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
namespace AUCMA.STORE.Entity.DAO
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库位信息
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("BASE_LOCATION_INFO")]
|
|
|
|
|
public class BaseLocationInfo
|
|
|
|
|
{
|
|
|
|
|
public BaseLocationInfo()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BaseLocationInfo(string locationCode,int locationRow, int locationLine,int orderNum)
|
|
|
|
|
{
|
|
|
|
|
this.locationCode = locationCode;
|
|
|
|
|
this.locationRow = locationRow;
|
|
|
|
|
this.locationLine = locationLine;
|
|
|
|
|
this.Ordernum = orderNum;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BaseLocationInfo(string materialType, LocationStatus locationStatus)
|
|
|
|
|
{
|
|
|
|
|
this.materialType = materialType;
|
|
|
|
|
this.locationStatus = locationStatus;
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="OBJID" ,IsPrimaryKey = true )]
|
|
|
|
|
public string objid { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库位编号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="LOCATION_CODE" )]
|
|
|
|
|
public string locationCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库位名称
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="LOCATION_NAME" )]
|
|
|
|
|
public string locationName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类别
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="MATERIAL_TYPE" )]
|
|
|
|
|
public string materialType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属仓库
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="STORE_CODE" )]
|
|
|
|
|
public string storeCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库位区域
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="LOCATION_AREA" )]
|
|
|
|
|
public LocationArea locationArea { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所处排
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="LOCATION_ROW" )]
|
|
|
|
|
public int locationRow { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所处列
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="LOCATION_LINE" )]
|
|
|
|
|
public int locationLine { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所处层
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="LOCATION_TIER" )]
|
|
|
|
|
public int locationTier { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库位状态
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="LOCATION_STATUS" )]
|
|
|
|
|
public LocationStatus locationStatus { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 执行效率
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="EFFICIENCY" )]
|
|
|
|
|
public decimal? efficiency { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="REMARK" )]
|
|
|
|
|
public string remark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除标志
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="DELETE_FLAG" )]
|
|
|
|
|
public DeleteFlag deleteFlag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记录时间
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="RECORD_TIME" )]
|
|
|
|
|
public DateTime? recordTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ORDERNUM")]
|
|
|
|
|
public int Ordernum { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|