You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
3.9 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
namespace Sln.Wcs.Model.Domain
{
[SugarTable("base_location"), TenantAttribute("wcs")]
[DataContract(Name = "库位信息表")]
public class BaseLocation
{
/// <summary>
/// 库位ID
/// </summary>
[SugarColumn(ColumnName = "location_id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "库位ID")]
public int LocationId { get; set; }
/// <summary>
/// 所属车间编号(2-2#,3-3#)
/// </summary>
[SugarColumn(ColumnName = "workshop_id", ColumnDescription = "所属车间编号")]
public int? WorkshopId { get; set; }
/// <summary>
/// 所属车间编号(2-2#,3-3#)
/// </summary>
[SugarColumn(ColumnName = "workshop_level", ColumnDescription = "所属车间层数")]
public int? WorkshopLevel { get; set; }
/// <summary>
/// 仓库ID关联wms_base_warehouse的warehouse_id
/// </summary>
[SugarColumn(ColumnName = "warehouse_id", ColumnDescription = "仓库ID")]
public int? WarehouseId { get; set; }
/// <summary>
/// 所属机台
/// </summary>
[SugarColumn(ColumnName = "machine_id", ColumnDescription = "所属机台")]
public string? MachineId { get; set; }
/// <summary>
/// 库位编码
/// </summary>
[SugarColumn(ColumnName = "location_code", ColumnDescription = "库位编码")]
public string? LocationCode { get; set; }
/// <summary>
/// AGV的点位编码
/// </summary>
[SugarColumn(ColumnName = "agv_position_code", ColumnDescription = "AGV点位编码")]
public string? AgvPositionCode { get; set; }
/// <summary>
/// 料箱编码
/// </summary>
[SugarColumn(ColumnName = "container_code", ColumnDescription = "料箱编码")]
public string? ContainerCode { get; set; }
/// <summary>
/// 列
/// </summary>
[SugarColumn(ColumnName = "loc_count", ColumnDescription = "数量")]
public int? LocCount { get; set; }
/// <summary>
/// 激活标记 1是 0否
/// </summary>
[SugarColumn(ColumnName = "active_flag", ColumnDescription = "激活标记")]
public int? ActiveFlag { get; set; }
/// <summary>
/// 库位状态0正常 1锁定
/// </summary>
[SugarColumn(ColumnName = "location_status", ColumnDescription = "库位状态")]
public int? LocationStatus { get; set; }
/// <summary>
/// 创建者
/// </summary>
[SugarColumn(ColumnName = "create_by", ColumnDescription = "创建者")]
public string? CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "created_time", ColumnDescription = "创建时间")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "updated_by", ColumnDescription = "更新人")]
public string? UpdatedBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "updated_time", ColumnDescription = "更新时间")]
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "remark", ColumnDescription = "备注")]
public string? Remark { get; set; }
/// <summary>
/// RFID设备key
/// </summary>
[SugarColumn(ColumnName = "equip_key", ColumnDescription = "RFID设备key")]
public string? EquipKey { get; set; }
}
}