using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace SlnMesnac.Model.domain
{
///
/// 设备信息
///
[SugarTable("wcs_base_equip"), TenantAttribute("mes")]
public class BaseEquipment
{
///
/// 主键
///
[SugarColumn(ColumnName = "objid", IsPrimaryKey = true)]
public long ObjId { get; set; }
///
/// 所属仓库
///
[SugarColumn(ColumnName = "warehouse_id")]
public long? WarehouseId { get; set; }
///
/// 设备编号
///
[SugarColumn(ColumnName = "equip_no")]
public string EquipNo { get; set; }
///
/// 设备名称
///
[SugarColumn(ColumnName = "equip_name")]
public string EquipName { get; set; }
///
/// 设备类型 1输送线 2 提升机 3 分拣输送线
///
[SugarColumn(ColumnName = "equip_type")]
public int? EquipType { get; set; }
///
/// IP地址
///
[SugarColumn(ColumnName = "server_ip")]
public string ServerIp { get; set; }
///
/// 端口
///
[SugarColumn(ColumnName = "server_port")]
public int? ServerPort { get; set; }
///
/// 设备状态,字典表
///
[SugarColumn(ColumnName = "equip_status")]
public int? EquipStatus { get; set; }
///
/// 所属楼层
///
[SugarColumn(ColumnName = "floor_no")]
public int? FloorNo { get; set; }
///
/// 是否可用 0:不可用 1:可用
///
[SugarColumn(ColumnName = "use_flag")]
public int UseFlag { get; set; } = 1;
///
/// 创建者
///
[SugarColumn(ColumnName = "create_by")]
public string CreateBy { get; set; } = "SYS";
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_time")]
public DateTime? CreateTime { get; set; } = DateTime.Now;
///
/// 更新者
///
[SugarColumn(ColumnName = "update_by")]
public string UpdateBy { get; set; } = "SYS";
///
/// 更新时间
///
[SugarColumn(ColumnName = "update_time")]
public DateTime? UpdateTime { get; set; } = DateTime.Now;
///
/// 人工任务起始地
///
[SugarColumn(ColumnName = "ud1")]
public string Ud1 { get; set; }
///
/// 人工任务终止地
///
[SugarColumn(ColumnName = "ud2")]
public string Ud2 { get; set; }
///
/// 备用字段3
///
[SugarColumn(ColumnName = "ud3")]
public string Ud3 { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
///
/// Agv地址
///
[SugarColumn(ColumnName = "agv_position_code")]
public string AgvPositionCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "empty_count")]
public int? EmptyCount { get; set; }
///
/// RFID
///
[SugarColumn(ColumnName = "container_no")]
public string ContainerNo { get; set; }
///
///
///
[SugarColumn(ColumnName = "endStationCode")]
public string EndStationCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "is_out")]
public int IsOut { get; set; } = 0;
}
}