using Core.Mes.Client.Comm.Attribute;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Core.StlMes.Client.YdmPipeReport.Entity
{///
/// 数据库表SLM_ORDER_HEAD所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:PC-201412141732 时间:2016-07-24
///
public class SlmOrderHeadEntity
{
///
/// ORD_PK
///
private string ordPk = "";
///
/// 管理卡号(YY+MM+四位流水号)
///
private string managNo = "";
///
/// 合同号(记录创建时如无合同号,形成LS+YYMMDD+三位流水号的临时合同号
///
private string orderNo = "";
///
/// 客户合同号
///
private string custmOrderNo = "";
///
/// 评审单号(后台产生:XS/IE/GM+YYMM+四位流水号)
///
private string revwRptNo = "";
///
/// 合同类型
///
private string orderTyp = "";
///
/// 合同类型描述
///
private string orderTypDesc = "";
///
/// 协议号
///
private string protclNo = "";
///
/// 客户编码
///
private string customerNo = "";
///
/// 客户名称
///
private string customerNm = "";
///
/// 市场系统(1006)
///
private string marketSys = "";
///
/// 市场系统描述
///
private string marketSysDesc = "";
///
/// 简称
///
private string abrvition = "";
///
/// 供货单位
///
private string supplyUnit = "";
///
/// 计价方式(1203)
///
private string priceFl = "";
///
/// 币种
///
private string currency = "";
///
/// 付款方式
///
private string mnyAskTyp = "";
///
/// 结算单位编码
///
private string stlmtUnitNo = "";
///
/// 结算单位名称
///
private string stlmtUnitNm = "";
///
/// 首次受票人(国贸/钢贸/集团/客户)
///
private string fstDraweeUnit = "";
///
/// 法人
///
private string legalPsn = "";
///
/// 委托代理人
///
private string agent = "";
///
/// 地址
///
private string address = "";
///
/// 邮编
///
private string zipCode = "";
///
/// 开户银行
///
private string bank = "";
///
/// 帐号
///
private string account = "";
///
/// 税号
///
private string taxId = "";
///
/// 电话
///
private string phone = "";
///
/// 传真
///
private string fax = "";
///
/// 合同量
///
private decimal? orderWgt = null;
///
/// 合同总价(含税)
///
private decimal? orderMnyTax = null;
///
/// 合同总价(不含税)
///
private decimal? orderMnyNtax = null;
///
/// 付款要求描述
///
private string mnyAskDesc = "";
///
/// 签订人
///
private string signPerson = "";
///
/// 签订日期
///
private string signDate = "";
///
/// 签订地点
///
private string signAddress = "";
///
/// 合同年度
///
private string orderYear = "";
///
/// 合同开始时间
///
private string orderBdate = "";
///
/// 合同结束时间
///
private string orderEdate = "";
///
/// 合同扫描件编号
///
private string orderScanNo = "";
///
/// 是否客户范本(1:是;0:否)
///
private string customerModelFl = "";
///
/// 合同范本编号
///
private string orderModelNo = "";
///
/// 合同范本描述
///
private string orderModelDesc = "";
///
/// 销售组织(国贸/钢贸/销售公司)
///
private string saleOrg = "";
///
/// 销售组织描述
///
private string saleOrgDesc = "";
///
/// 销售区域编码
///
private string saleAreaNo = "";
///
/// 销售区域描述
///
private string saleAreaDesc = "";
///
/// 备注
///
private string memo = "";
///
/// 前合同状态
///
private string beOrderSts = "";
///
/// 操作对象(前)
///
private string beObjStsOp = "";
///
/// 合同状态
///
private string orderSts = "";
///
/// 合同状态描述
///
private string orderStsDesc = "";
///
/// 操作对象
///
private string objStsOp = "";
///
/// 审批人
///
private string approvalMan = "";
///
/// 审批时间
///
private string approvalTime = "";
///
/// 生效人
///
private string effectMan = "";
///
/// 生效时间
///
private string effectTime = "";
///
/// 结案人
///
private string closeMan = "";
///
/// 结案时间
///
private string closeTime = "";
///
/// 有效标志(1:有效,0:无效)
///
private string validflag = "";
///
/// 创建人
///
private string createName = "";
///
/// 创建人部门
///
private string createDept = "";
///
/// 创建时间
///
private string createTime = "";
///
/// 修改人
///
private string updateName = "";
///
/// 修改时间
///
private string updateTime = "";
///
/// 删除人
///
private string deleteName = "";
///
/// 删除时间
///
private string deleteTime = "";
///
/// ORD_PK_OLD
///
private string ordPkOld = "";
///
/// 前合同状态描述
///
private string beOrderStsDesc = "";
///
/// 定价编号(YY+DD+六位流水号)
///
private string priceNo = "";
///
/// 合同变更单号(G+YYYYMMDD+00001)
///
private string orderChgeNo = "";
///
/// 合同头锁定状态
///
private string islock = "";
///
/// 打印价格(订货价,结算价)
///
private string printPrice = "";
///
/// 优惠方案
///
private string pricePlan = "";
///
/// 是否含税 0 否 1 是
///
private string containTax = "";
///
/// 合同归档 0 否 1 是
///
private string orderArchive = "";
///
/// 放行通过时间
///
private string passTime = "";
///
/// 确认通过时间
///
private string confirmTime = "";
///
/// 贸易类型(销售、钢贸1223 国贸 1224)
///
private string tradeType = "";
///
/// 合同分类1225
///
private string orderClassify = "";
///
/// 业务分类(E、D、X、C)国贸专用
///
private string businessType = "";
///
/// 打印时间
///
private string printTime = "";
///
/// 打印次数
///
private decimal? printCount = null;
///
/// 当地法律法规
///
private string localLaw = "";
///
/// 上传的合同文本地址 ORDFILE/ORD_PK/ ORDFILE为固定字符串 ORD_PK是合同的PK值
///
private string orderFile = "";
///
/// ORD_PK
///
[Description("ORD_PK")]
[Nullable(false)]
[DataLength(40)]
public string OrdPk
{
get { return ordPk; }
set { ordPk = value; }
}
///
/// 管理卡号(YY+MM+四位流水号)
///
[Description("管理卡号(YY+MM+四位流水号)")]
[Nullable(true)]
[DataLength(20)]
public string ManagNo
{
get { return managNo; }
set { managNo = value; }
}
///
/// 合同号(记录创建时如无合同号,形成LS+YYMMDD+三位流水号的临时合同号
///
[Description("合同号")]
[Nullable(true)]
[DataLength(20)]
public string OrderNo
{
get { return orderNo; }
set { orderNo = value; }
}
///
/// 客户合同号
///
[Description("客户合同号")]
[Nullable(true)]
[DataLength(100)]
public string CustmOrderNo
{
get { return custmOrderNo; }
set { custmOrderNo = value; }
}
///
/// 评审单号(后台产生:XS/IE/GM+YYMM+四位流水号)
///
[Description("评审单号")]
[Nullable(false)]
[DataLength(10)]
public string RevwRptNo
{
get { return revwRptNo; }
set { revwRptNo = value; }
}
///
/// 合同类型
///
[Description("合同类型代码")]
[Nullable(true)]
[DataLength(20)]
public string OrderTyp
{
get { return orderTyp; }
set { orderTyp = value; }
}
///
/// 合同类型描述
///
[Description("合同类型")]
[Nullable(true)]
[DataLength(20)]
public string OrderTypDesc
{
get { return orderTypDesc; }
set { orderTypDesc = value; }
}
///
/// 协议号
///
[Description("协议号")]
[Nullable(true)]
[DataLength(100)]
public string ProtclNo
{
get { return protclNo; }
set { protclNo = value; }
}
///
/// 客户编码
///
[Description("客户编码")]
[Nullable(true)]
[DataLength(10)]
public string CustomerNo
{
get { return customerNo; }
set { customerNo = value; }
}
///
/// 客户名称
///
[Description("客户名称")]
[Nullable(true)]
[DataLength(60)]
public string CustomerNm
{
get { return customerNm; }
set { customerNm = value; }
}
///
/// 市场系统(1006)
///
[Description("市场系统(1006)")]
[Nullable(true)]
[DataLength(50)]
public string MarketSys
{
get { return marketSys; }
set { marketSys = value; }
}
///
/// 市场系统描述
///
[Description("市场系统")]
[Nullable(true)]
[DataLength(50)]
public string MarketSysDesc
{
get { return marketSysDesc; }
set { marketSysDesc = value; }
}
///
/// 简称
///
[Description("简称")]
[Nullable(true)]
[DataLength(60)]
public string Abrvition
{
get { return abrvition; }
set { abrvition = value; }
}
///
/// 供货单位
///
[Description("供货单位")]
[Nullable(true)]
[DataLength(20)]
public string SupplyUnit
{
get { return supplyUnit; }
set { supplyUnit = value; }
}
///
/// 计价方式(1203)
///
[Description("计价方式(1203)")]
[Nullable(true)]
[DataLength(20)]
public string PriceFl
{
get { return priceFl; }
set { priceFl = value; }
}
///
/// 币种
///
[Description("币种")]
[Nullable(true)]
[DataLength(20)]
public string Currency
{
get { return currency; }
set { currency = value; }
}
///
/// 付款方式
///
[Description("付款方式")]
[Nullable(true)]
[DataLength(20)]
public string MnyAskTyp
{
get { return mnyAskTyp; }
set { mnyAskTyp = value; }
}
///
/// 结算单位编码
///
[Description("结算单位编码")]
[Nullable(true)]
[DataLength(10)]
public string StlmtUnitNo
{
get { return stlmtUnitNo; }
set { stlmtUnitNo = value; }
}
///
/// 结算单位名称
///
[Description("结算单位")]
[Nullable(true)]
[DataLength(60)]
public string StlmtUnitNm
{
get { return stlmtUnitNm; }
set { stlmtUnitNm = value; }
}
///
/// 首次受票人(国贸/钢贸/集团/客户)
///
[Description("首次受票人")]
[Nullable(true)]
[DataLength(20)]
public string FstDraweeUnit
{
get { return fstDraweeUnit; }
set { fstDraweeUnit = value; }
}
///
/// 法人
///
[Description("法人")]
[Nullable(true)]
[DataLength(20)]
public string LegalPsn
{
get { return legalPsn; }
set { legalPsn = value; }
}
///
/// 委托代理人
///
[Description("委托代理人")]
[Nullable(true)]
[DataLength(20)]
public string Agent
{
get { return agent; }
set { agent = value; }
}
///
/// 地址
///
[Description("地址")]
[Nullable(true)]
[DataLength(100)]
public string Address
{
get { return address; }
set { address = value; }
}
///
/// 邮编
///
[Description("邮编")]
[Nullable(true)]
[DataLength(20)]
public string ZipCode
{
get { return zipCode; }
set { zipCode = value; }
}
///
/// 开户银行
///
[Description("开户银行")]
[Nullable(true)]
[DataLength(100)]
public string Bank
{
get { return bank; }
set { bank = value; }
}
///
/// 帐号
///
[Description("帐号")]
[Nullable(true)]
[DataLength(50)]
public string Account
{
get { return account; }
set { account = value; }
}
///
/// 税号
///
[Description("税号")]
[Nullable(true)]
[DataLength(50)]
public string TaxId
{
get { return taxId; }
set { taxId = value; }
}
///
/// 电话
///
[Description("电话")]
[Nullable(true)]
[DataLength(20)]
public string Phone
{
get { return phone; }
set { phone = value; }
}
///
/// 传真
///
[Description("传真")]
[Nullable(true)]
[DataLength(20)]
public string Fax
{
get { return fax; }
set { fax = value; }
}
///
/// 合同量
///
[Description("合同量")]
[Nullable(true)]
[DataLength(8)]
public decimal? OrderWgt
{
get { return orderWgt; }
set { orderWgt = value; }
}
///
/// 合同总价(含税)
///
[Description("合同总价(含税)")]
[Nullable(true)]
[DataLength(11)]
public decimal? OrderMnyTax
{
get { return orderMnyTax; }
set { orderMnyTax = value; }
}
///
/// 合同总价(不含税)
///
[Description("合同总价(不含税)")]
[Nullable(true)]
[DataLength(11)]
public decimal? OrderMnyNtax
{
get { return orderMnyNtax; }
set { orderMnyNtax = value; }
}
///
/// 付款要求描述
///
[Description("付款要求")]
[Nullable(true)]
[DataLength(200)]
public string MnyAskDesc
{
get { return mnyAskDesc; }
set { mnyAskDesc = value; }
}
///
/// 签订人
///
[Description("签订人")]
[Nullable(true)]
[DataLength(20)]
public string SignPerson
{
get { return signPerson; }
set { signPerson = value; }
}
///
/// 签订日期
///
[Description("签订日期")]
[Nullable(true)]
public string SignDate
{
get { return signDate; }
set { signDate = value; }
}
///
/// 签订地点
///
[Description("签订地点")]
[Nullable(true)]
[DataLength(100)]
public string SignAddress
{
get { return signAddress; }
set { signAddress = value; }
}
///
/// 合同年度
///
[Description("合同年度")]
[Nullable(true)]
[DataLength(20)]
public string OrderYear
{
get { return orderYear; }
set { orderYear = value; }
}
///
/// 合同开始时间
///
[Description("合同开始时间")]
[Nullable(true)]
public string OrderBdate
{
get { return orderBdate; }
set { orderBdate = value; }
}
///
/// 合同结束时间
///
[Description("合同结束时间")]
[Nullable(true)]
public string OrderEdate
{
get { return orderEdate; }
set { orderEdate = value; }
}
///
/// 合同扫描件编号
///
[Description("合同扫描件编号")]
[Nullable(true)]
[DataLength(40)]
public string OrderScanNo
{
get { return orderScanNo; }
set { orderScanNo = value; }
}
///
/// 是否客户范本(1:是;0:否)
///
[Description("是否客户范本")]
[Nullable(true)]
[DataLength(1)]
public string CustomerModelFl
{
get { return customerModelFl; }
set { customerModelFl = value; }
}
///
/// 合同范本编号
///
[Description("合同范本编号")]
[Nullable(true)]
[DataLength(20)]
public string OrderModelNo
{
get { return orderModelNo; }
set { orderModelNo = value; }
}
///
/// 合同范本描述
///
[Description("合同范本")]
[Nullable(true)]
[DataLength(50)]
public string OrderModelDesc
{
get { return orderModelDesc; }
set { orderModelDesc = value; }
}
///
/// 销售组织(国贸/钢贸/销售公司)
///
[Description("销售组织")]
[Nullable(true)]
[DataLength(20)]
public string SaleOrg
{
get { return saleOrg; }
set { saleOrg = value; }
}
///
/// 销售组织描述
///
[Description("销售组织")]
[Nullable(true)]
[DataLength(20)]
public string SaleOrgDesc
{
get { return saleOrgDesc; }
set { saleOrgDesc = value; }
}
///
/// 销售区域编码
///
[Description("销售区域编码")]
[Nullable(true)]
[DataLength(20)]
public string SaleAreaNo
{
get { return saleAreaNo; }
set { saleAreaNo = value; }
}
///
/// 销售区域描述
///
[Description("销售区域")]
[Nullable(true)]
[DataLength(50)]
public string SaleAreaDesc
{
get { return saleAreaDesc; }
set { saleAreaDesc = value; }
}
///
/// 备注
///
[Description("备注")]
[Nullable(true)]
[DataLength(2000)]
public string Memo
{
get { return memo; }
set { memo = value; }
}
///
/// 前合同状态
///
[Description("前合同状态")]
[Nullable(true)]
[DataLength(20)]
public string BeOrderSts
{
get { return beOrderSts; }
set { beOrderSts = value; }
}
///
/// 操作对象(前)
///
[Description("操作对象(前)")]
[Nullable(true)]
[DataLength(100)]
public string BeObjStsOp
{
get { return beObjStsOp; }
set { beObjStsOp = value; }
}
///
/// 合同状态
///
[Description("合同状态")]
[Nullable(true)]
[DataLength(20)]
public string OrderSts
{
get { return orderSts; }
set { orderSts = value; }
}
///
/// 合同状态描述
///
[Description("合同状态")]
[Nullable(true)]
[DataLength(20)]
public string OrderStsDesc
{
get { return orderStsDesc; }
set { orderStsDesc = value; }
}
///
/// 操作对象
///
[Description("操作对象")]
[Nullable(true)]
[DataLength(100)]
public string ObjStsOp
{
get { return objStsOp; }
set { objStsOp = value; }
}
///
/// 审批人
///
[Description("审批人")]
[Nullable(true)]
[DataLength(20)]
public string ApprovalMan
{
get { return approvalMan; }
set { approvalMan = value; }
}
///
/// 审批时间
///
[Description("审批时间")]
[Nullable(true)]
public string ApprovalTime
{
get { return approvalTime; }
set { approvalTime = value; }
}
///
/// 生效人
///
[Description("生效人")]
[Nullable(true)]
[DataLength(20)]
public string EffectMan
{
get { return effectMan; }
set { effectMan = value; }
}
///
/// 生效时间
///
[Description("生效时间")]
[Nullable(true)]
public string EffectTime
{
get { return effectTime; }
set { effectTime = value; }
}
///
/// 结案人
///
[Description("结案人")]
[Nullable(true)]
[DataLength(20)]
public string CloseMan
{
get { return closeMan; }
set { closeMan = value; }
}
///
/// 结案时间
///
[Description("结案时间")]
[Nullable(true)]
public string CloseTime
{
get { return closeTime; }
set { closeTime = value; }
}
///
/// 有效标志(1:有效,0:无效)
///
[Description("有效标志(1:有效,0:无效)")]
[Nullable(true)]
[DataLength(1)]
public string Validflag
{
get { return validflag; }
set { validflag = value; }
}
///
/// 创建人
///
[Description("创建人")]
[Nullable(true)]
[DataLength(20)]
public string CreateName
{
get { return createName; }
set { createName = value; }
}
///
/// 创建人部门
///
[Description("创建人部门")]
[Nullable(true)]
[DataLength(15)]
public string CreateDept
{
get { return createDept; }
set { createDept = value; }
}
///
/// 创建时间
///
[Description("创建时间")]
[Nullable(true)]
public string CreateTime
{
get { return createTime; }
set { createTime = value; }
}
///
/// 修改人
///
[Description("修改人")]
[Nullable(true)]
[DataLength(20)]
public string UpdateName
{
get { return updateName; }
set { updateName = value; }
}
///
/// 修改时间
///
[Description("修改时间")]
[Nullable(true)]
public string UpdateTime
{
get { return updateTime; }
set { updateTime = value; }
}
///
/// 删除人
///
[Description("删除人")]
[Nullable(true)]
[DataLength(20)]
public string DeleteName
{
get { return deleteName; }
set { deleteName = value; }
}
///
/// 删除时间
///
[Description("删除时间")]
[Nullable(true)]
public string DeleteTime
{
get { return deleteTime; }
set { deleteTime = value; }
}
///
/// ORD_PK_OLD
///
[Description("ORD_PK_OLD")]
[Nullable(true)]
[DataLength(40)]
public string OrdPkOld
{
get { return ordPkOld; }
set { ordPkOld = value; }
}
///
/// 前合同状态描述
///
[Description("前合同状态描述")]
[Nullable(true)]
[DataLength(50)]
public string BeOrderStsDesc
{
get { return beOrderStsDesc; }
set { beOrderStsDesc = value; }
}
///
/// 定价编号(YY+DD+六位流水号)
///
[Description("定价编号(YY+DD+六位流水号)")]
[Nullable(true)]
[DataLength(15)]
public string PriceNo
{
get { return priceNo; }
set { priceNo = value; }
}
///
/// 合同变更单号(G+YYYYMMDD+00001)
///
[Description("合同变更单号(G+YYYYMMDD+00001)")]
[Nullable(true)]
[DataLength(20)]
public string OrderChgeNo
{
get { return orderChgeNo; }
set { orderChgeNo = value; }
}
///
/// 合同头锁定状态
///
[Description("合同头锁定状态")]
[Nullable(true)]
[DataLength(1)]
public string Islock
{
get { return islock; }
set { islock = value; }
}
///
/// 打印价格(订货价,结算价)
///
[Description("打印价格")]
[Nullable(true)]
[DataLength(20)]
public string PrintPrice
{
get { return printPrice; }
set { printPrice = value; }
}
///
/// 优惠方案
///
[Description("优惠方案")]
[Nullable(true)]
[DataLength(200)]
public string PricePlan
{
get { return pricePlan; }
set { pricePlan = value; }
}
///
/// 是否含税 0 否 1 是
///
[Description("是否含税")]
[Nullable(true)]
[DataLength(1)]
public string ContainTax
{
get { return containTax; }
set { containTax = value; }
}
///
/// 合同归档 0 否 1 是
///
[Description("合同归档")]
[Nullable(true)]
[DataLength(1)]
public string OrderArchive
{
get { return orderArchive; }
set { orderArchive = value; }
}
///
/// 放行通过时间
///
[Description("放行通过时间")]
[Nullable(true)]
public string PassTime
{
get { return passTime; }
set { passTime = value; }
}
///
/// 确认通过时间
///
[Description("确认通过时间")]
[Nullable(true)]
public string ConfirmTime
{
get { return confirmTime; }
set { confirmTime = value; }
}
///
/// 贸易类型(销售、钢贸1223 国贸 1224)
///
[Description("贸易类型")]
[Nullable(true)]
[DataLength(6)]
public string TradeType
{
get { return tradeType; }
set { tradeType = value; }
}
///
/// 合同分类1225
///
[Description("合同分类1225")]
[Nullable(true)]
[DataLength(6)]
public string OrderClassify
{
get { return orderClassify; }
set { orderClassify = value; }
}
///
/// 业务分类(E、D、X、C)国贸专用
///
[Description("业务分类(E、D、X、C)国贸专用")]
[Nullable(true)]
[DataLength(1)]
public string BusinessType
{
get { return businessType; }
set { businessType = value; }
}
///
/// 打印时间
///
[Description("打印时间")]
[Nullable(true)]
public string PrintTime
{
get { return printTime; }
set { printTime = value; }
}
///
/// 打印次数
///
[Description("打印次数")]
[Nullable(true)]
[DataLength(3)]
public decimal? PrintCount
{
get { return printCount; }
set { printCount = value; }
}
///
/// 当地法律法规
///
[Description("当地法律法规")]
[Nullable(true)]
[DataLength(2000)]
public string LocalLaw
{
get { return localLaw; }
set { localLaw = value; }
}
///
/// 上传的合同文本地址 ORDFILE/ORD_PK/ ORDFILE为固定字符串 ORD_PK是合同的PK值
///
[Description("上传的合同文本地址 ORDFILE/ORD_PK/ ORDFILE为固定字符串 ORD_PK是合同的PK值")]
[Nullable(true)]
[DataLength(50)]
public string OrderFile
{
get { return orderFile; }
set { orderFile = value; }
}
}
}