using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Core.Mes.Client.Comm.Attribute;
namespace Core.StlMes.Client.Mcp.Mch.Mcms.entity
{
///
/// 数据库表CMM_WEIGHT_RECORD所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:朱少波 时间:2020-11-10
///
public class CmmWeightRecordEntity
{
///
/// 称重记录流水号
///
private string recordNo = "";
///
/// 检斤时间
///
private string recordDate = "";
///
/// 检斤人
///
private string recoder = "";
///
/// 车牌号
///
private string carNo = "";
///
/// 过磅类型 101- 空车过皮 102-钢坯采购 103-钢坯采购 104-采购辅料 105-修复返厂 106-设备采购 107-其他内转 108-内转钢管 109-内转钢坯 201- 配车单称重 202-废料销售 203-修复出厂 204-其他内转 205-内转钢管 206-内转钢坯 207-空车回皮
///
private string recordType = "";
///
/// 重量
///
private decimal? recordWeight = null;
///
/// 支数
///
private decimal? recordNumber = null;
///
/// 有效标志(1:有效,0:无效)
///
private string validflag = "";
///
/// 物资名称
///
private string matName = "";
///
/// 称重类型
///
private string matType = "";
///
/// 装车单号
///
private string loadvehicleNo = "";
///
/// 收货单位
///
private string receiveName = "";
///
/// 订货单位
///
private string orderName = "";
///
/// 发货单位
///
private string shippersName = "";
///
/// 运输单位
///
private string transportName = "";
///
/// 作废时间
///
private string deleteDate = "";
///
/// 作废人
///
private string deleteUser = "";
///
/// 备注
///
private string memo = "";
///
/// 称重类型 0- 皮重 1-毛重
///
private string wtType = "";
///
/// 磅房编号
///
private string recoderLocation = "";
private decimal? realWt = null;
///
/// 称重记录流水号
///
[Description("称重记录流水号")]
[Nullable(false)]
[DataLength(20)]
public string RecordNo
{
get { return recordNo; }
set { recordNo = value; }
}
///
/// 检斤时间
///
[Description("检斤时间")]
[Nullable(true)]
public string RecordDate
{
get { return recordDate; }
set { recordDate = value; }
}
///
/// 检斤人
///
[Description("检斤人")]
[Nullable(true)]
[DataLength(10)]
public string Recoder
{
get { return recoder; }
set { recoder = value; }
}
///
/// 车牌号
///
[Description("车牌号")]
[Nullable(true)]
[DataLength(20)]
public string CarNo
{
get { return carNo; }
set { carNo = value; }
}
///
/// 过磅类型 101- 空车过皮 102-钢坯采购 103-钢坯采购 104-采购辅料 105-修复返厂 106-设备采购 107-其他内转 108-内转钢管 109-内转钢坯 201- 配车单称重 202-废料销售 203-修复出厂 204-其他内转 205-内转钢管 206-内转钢坯 207-空车回皮
///
[Description(
"过磅类型 101- 空车过皮 102-钢坯采购 103-钢坯采购 104-采购辅料 105-修复返厂 106-设备采购 107-其他内转 108-内转钢管 109-内转钢坯 201- 配车单称重 202-废料销售 203-修复出厂 204-其他内转 205-内转钢管 206-内转钢坯 207-空车回皮"
)]
[Nullable(true)]
[DataLength(2)]
public string RecordType
{
get { return recordType; }
set { recordType = value; }
}
///
/// 重量
///
[Description("重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? RecordWeight
{
get { return recordWeight; }
set { recordWeight = value; }
}
///
/// 支数
///
[Description("支数")]
[Nullable(true)]
[DataLength(5)]
public decimal? RecordNumber
{
get { return recordNumber; }
set { recordNumber = value; }
}
///
/// 有效标志(1:有效,0:无效)
///
[Description("有效标志(1:有效,0:无效)")]
[Nullable(false)]
[DataLength(1)]
public string Validflag
{
get { return validflag; }
set { validflag = value; }
}
///
/// 物资名称
///
[Description("物资名称")]
[Nullable(true)]
[DataLength(100)]
public string MatName
{
get { return matName; }
set { matName = value; }
}
///
/// 称重类型
///
[Description("称重类型")]
[Nullable(true)]
[DataLength(22)]
public string MatType
{
get { return matType; }
set { matType = value; }
}
///
/// 装车单号
///
[Description("装车单号")]
[Nullable(false)]
[DataLength(22)]
public string LoadvehicleNo
{
get { return loadvehicleNo; }
set { loadvehicleNo = value; }
}
///
/// 收货单位
///
[Description("收货单位")]
[Nullable(true)]
[DataLength(120)]
public string ReceiveName
{
get { return receiveName; }
set { receiveName = value; }
}
///
/// 订货单位
///
[Description("订货单位")]
[Nullable(true)]
[DataLength(120)]
public string OrderName
{
get { return orderName; }
set { orderName = value; }
}
///
/// 发货单位
///
[Description("发货单位")]
[Nullable(true)]
[DataLength(120)]
public string ShippersName
{
get { return shippersName; }
set { shippersName = value; }
}
///
/// 运输单位
///
[Description("运输单位")]
[Nullable(true)]
[DataLength(120)]
public string TransportName
{
get { return transportName; }
set { transportName = value; }
}
///
/// 作废时间
///
[Description("作废时间")]
[Nullable(true)]
public string DeleteDate
{
get { return deleteDate; }
set { deleteDate = value; }
}
///
/// 作废人
///
[Description("作废人")]
[Nullable(true)]
[DataLength(10)]
public string DeleteUser
{
get { return deleteUser; }
set { deleteUser = value; }
}
///
/// 备注
///
[Description("备注")]
[Nullable(true)]
[DataLength(1000)]
public string Memo
{
get { return memo; }
set { memo = value; }
}
///
/// 称重类型 0- 皮重 1-毛重
///
[Description("称重类型 0- 皮重 1-毛重")]
[Nullable(true)]
[DataLength(2)]
public string WtType
{
get { return wtType; }
set { wtType = value; }
}
///
/// 磅房编号
///
[Description("磅房编号")]
[Nullable(true)]
[DataLength(2)]
public string RecoderLocation
{
get { return recoderLocation; }
set { recoderLocation = value; }
}
///
/// 实发重
///
[Description("实发重")]
[Nullable(true)]
[DataLength(8)]
public decimal? RealWt
{
get { return realWt; }
set { realWt = value; }
}
public string firstGross
{
get { return "1" == validflag && "1" == wtType && "101" != recordType ? "是" : ""; }
}
}
}