using System;
using System.ComponentModel;
namespace CallCenterApi.Model
{
///
/// 工单管理表
///
[Serializable]
public partial class T_Wo_WorkOrder
{
public T_Wo_WorkOrder()
{ }
#region Model
private int _f_id;
private string _f_workordercode;
private string _f_callid;
private string _f_source;
private string _f_type;
private string _f_incidentprovince;
private string _f_incidentcity;
private string _f_incidentcountry;
private string _f_incidenttownship;
private string _f_incidentdetailed;
private string _f_salesbase;
private string _f_description;
private string _f_files;
private string _f_dealtype;
private int? _f_customerid;
private string _f_materialid;
private string _f_questiontype;
private string _f_batchnumber;
private string _f_ts_formula;
private string _f_ts_category;
private string _f_ts_quantity;
private string _f_ts_level;
private string _f_zx_proname;
private string _f_zx_quantity;
private string _f_zx_area;
private string _f_zx_branch;
private DateTime? _f_cj_time;
private string _f_cj_level;
private string _f_cj_unit;
private string _f_cj_testunit;
private string _f_cj_tonnage;
private string _f_cj_bagno;
private string _f_cj_outlay;
private int? _f_state;
private string _f_sc_productbase;
private string _f_sc_preliminaryopinion;
private string _f_sc_qualitymonth;
private string _f_sc_cj_spotresult;
private string _f_sc_cj_selfresult;
private string _f_sc_cj_approvalno;
private string _f_sc_cj_returnaccount;
private string _f_zl_qualityeventlevel;
private string _f_zl_claimamount;
private string _f_zl_responsibleunit;
private string _f_zl_approvalopinions;
private string _f_zl_approvaldisagree;
private string _f_zl_compensationmethod;
private string _f_zl_compensationmoney;
private string _f_zl_cresponsibleunits;
private string _f_zl_fquantity;
private string _f_zl_improvementrequirements;
private string _f_zl_capprovalno;
private string _f_zl_cj_isrecord;
private int? _f_isaudit;
private int? _f_auditstate;
private string _f_auditby;
private DateTime? _f_auditon;
private string _f_auditcont;
private int? _f_isover;
private string _f_dealby;
private DateTime? _f_dealtime;
private string _f_dealcontent;
private string _f_dealresult;
private string _f_dealreasons;
private int? _f_isvisit;
private DateTime? _f_visiton;
private string _f_visitby;
private string _f_visitresult;
private string _f_visitreason;
private string _f_createby;
private DateTime? _f_createon;
private int? _f_updatecount;
private string _f_updateby;
private DateTime? _f_updateon;
private int? _f_isdelete;
private string _f_deleteby;
private DateTime? _f_deleteon;
private string _f_cusphone;
private string _f_cusname;
private string _f_companyname;
private string _f_wxopenid;
private string _f_callresults;
private string _f_highopinions;
///
/// 高层处理意见
///
public string F_Highopinions
{
set { _f_highopinions = value; }
get { return _f_highopinions; }
}
///
/// 呼叫结果
///
public string F_Callresults
{
set { _f_callresults = value; }
get { return _f_callresults; }
}
///
/// 微信OpenId
///
public string F_WxOpenId
{
set { _f_wxopenid = value; }
get { return _f_wxopenid; }
}
///
/// 工单ID
///
public int F_ID
{
set { _f_id = value; }
get { return _f_id; }
}
///
/// 工单编号
///
public string F_WorkOrderCode
{
set { _f_workordercode = value; }
get { return _f_workordercode; }
}
///
/// 客户姓名
///
public string F_CusName
{
set { _f_cusname = value; }
get { return _f_cusname; }
}
///
/// 客户电话
///
public string F_CusPhone
{
set { _f_cusphone = value; }
get { return _f_cusphone; }
}
///
/// 公司名称
///
public string F_CompanyName
{
set { _f_companyname = value; }
get { return _f_companyname; }
}
///
/// 通话记录ID
///
public string F_CallID
{
set { _f_callid = value; }
get { return _f_callid; }
}
///
/// 工单来源:电话、微信业务员、微信客户、官网
///
public string F_Source
{
set { _f_source = value; }
get { return _f_source; }
}
///
/// 工单类型:咨询及需求、投诉、抽检、其他
///
public string F_Type
{
set { _f_type = value; }
get { return _f_type; }
}
///
/// 事发地-省
///
public string F_IncidentProvince
{
set { _f_incidentprovince = value; }
get { return _f_incidentprovince; }
}
///
/// 事发地-市
///
public string F_IncidentCity
{
set { _f_incidentcity = value; }
get { return _f_incidentcity; }
}
///
/// 事发地-县
///
public string F_IncidentCountry
{
set { _f_incidentcountry = value; }
get { return _f_incidentcountry; }
}
///
/// 事发地-乡
///
public string F_IncidentTownship
{
set { _f_incidenttownship = value; }
get { return _f_incidenttownship; }
}
///
/// 事发地-详细
///
public string F_IncidentDetailed
{
set { _f_incidentdetailed = value; }
get { return _f_incidentdetailed; }
}
///
/// 销售基地:新乡、新疆、九江、东北、其他
///
public string F_SalesBase
{
set { _f_salesbase = value; }
get { return _f_salesbase; }
}
///
/// 问题描述
///
public string F_Description
{
set { _f_description = value; }
get { return _f_description; }
}
///
/// 附件上传ids
///
public string F_Files
{
set { _f_files = value; }
get { return _f_files; }
}
///
/// 处理方式:当即办理、电话转接、网络转办
///
public string F_DealType
{
set { _f_dealtype = value; }
get { return _f_dealtype; }
}
///
/// 客户id
///
public int? F_CustomerID
{
set { _f_customerid = value; }
get { return _f_customerid; }
}
///
/// 物料id
///
public string F_MaterialID
{
set { _f_materialid = value; }
get { return _f_materialid; }
}
///
/// 问题类别
///
public string F_QuestionType
{
set { _f_questiontype = value; }
get { return _f_questiontype; }
}
///
/// 生产批次号
///
public string F_BatchNumber
{
set { _f_batchnumber = value; }
get { return _f_batchnumber; }
}
///
/// 投诉-配方
///
public string F_TS_Formula
{
set { _f_ts_formula = value; }
get { return _f_ts_formula; }
}
///
/// 投诉-产品种类:化肥、化工、其他
///
public string F_TS_Category
{
set { _f_ts_category = value; }
get { return _f_ts_category; }
}
///
/// 投诉-问题数量(吨)
///
public string F_TS_Quantity
{
set { _f_ts_quantity = value; }
get { return _f_ts_quantity; }
}
///
/// 投诉-重要级别:轻微、一般、较大、重大
///
public string F_TS_Level
{
set { _f_ts_level = value; }
get { return _f_ts_level; }
}
///
/// 咨询-产品名称:三聚氰胺、甲醇、液氨、二甲醚、糠醇、其他
///
public string F_ZX_ProName
{
set { _f_zx_proname = value; }
get { return _f_zx_proname; }
}
///
/// 咨询-问题数量
///
public string F_ZX_Quantity
{
set { _f_zx_quantity = value; }
get { return _f_zx_quantity; }
}
///
/// 咨询-大区
///
public string F_ZX_Area
{
set { _f_zx_area = value; }
get { return _f_zx_area; }
}
///
/// 咨询-分公司
///
public string F_ZX_Branch
{
set { _f_zx_branch = value; }
get { return _f_zx_branch; }
}
///
/// 抽检-抽检时间
///
public DateTime? F_CJ_Time
{
set { _f_cj_time = value; }
get { return _f_cj_time; }
}
///
/// 抽检-抽检级别:乡镇级、县级、市级、省级及以上、个人送检
///
public string F_CJ_Level
{
set { _f_cj_level = value; }
get { return _f_cj_level; }
}
///
/// 抽检-抽检单位:市场监督、农业部、土肥站、工商、联合执法、其他
///
public string F_CJ_Unit
{
set { _f_cj_unit = value; }
get { return _f_cj_unit; }
}
///
/// 抽检-化验单位
///
public string F_CJ_TestUnit
{
set { _f_cj_testunit = value; }
get { return _f_cj_testunit; }
}
///
/// 抽检-抽检吨数
///
public string F_CJ_Tonnage
{
set { _f_cj_tonnage = value; }
get { return _f_cj_tonnage; }
}
///
/// 抽检-抽检袋数
///
public string F_CJ_BagNo
{
set { _f_cj_bagno = value; }
get { return _f_cj_bagno; }
}
///
/// 抽检-公关费用金额:单位元
///
public string F_CJ_Outlay
{
set { _f_cj_outlay = value; }
get { return _f_cj_outlay; }
}
///
/// 工单状态
///
public int? F_State
{
set { _f_state = value; }
get { return _f_state; }
}
///
/// 市场管理科-生产基地(新乡、新疆、九江、东北、贴牌、无法确定)
///
public string F_SC_ProductBase
{
set { _f_sc_productbase = value; }
get { return _f_sc_productbase; }
}
///
/// 市场管理科-初审意见:退货、换货、补偿、自行处理
///
public string F_SC_PreliminaryOpinion
{
set { _f_sc_preliminaryopinion = value; }
get { return _f_sc_preliminaryopinion; }
}
///
/// 市场管理科-超出质保期限(算法:工单创建日期-生产日期,生产日期根据生产批次号获取,单位:月)
///
public string F_SC_QualityMonth
{
set { _f_sc_qualitymonth = value; }
get { return _f_sc_qualitymonth; }
}
///
/// 市场管理科-抽检-抽检结果(视同合格、合格、不合格、复检后合格、未送检)
///
public string F_SC_CJ_SpotResult
{
set { _f_sc_cj_spotresult = value; }
get { return _f_sc_cj_spotresult; }
}
///
/// 市场管理科-抽检-自检结果
///
public string F_SC_CJ_SelfResult
{
set { _f_sc_cj_selfresult = value; }
get { return _f_sc_cj_selfresult; }
}
///
/// 市场管理科-抽检-对应审批工作流单号
///
public string F_SC_CJ_ApprovalNo
{
set { _f_sc_cj_approvalno = value; }
get { return _f_sc_cj_approvalno; }
}
///
/// 市场管理科-抽检-确认返账金额(元)
///
public string F_SC_CJ_ReturnAccount
{
set { _f_sc_cj_returnaccount = value; }
get { return _f_sc_cj_returnaccount; }
}
///
/// 质量管理科-质量事件等级(未遂、一般、较大、重大)
///
public string F_ZL_QualityEventLevel
{
set { _f_zl_qualityeventlevel = value; }
get { return _f_zl_qualityeventlevel; }
}
///
/// 质量管理科-索赔金额(单位元,对应责任单位)
///
public string F_ZL_ClaimAmount
{
set { _f_zl_claimamount = value; }
get { return _f_zl_claimamount; }
}
///
/// 质量管理科-责任单位(需列出,可选多个)
///
public string F_ZL_ResponsibleUnit
{
set { _f_zl_responsibleunit = value; }
get { return _f_zl_responsibleunit; }
}
///
/// 质量管理科-审批意见(同意、不同意,若选择不同意,增加输入框输入补充内容)
///
public string F_ZL_ApprovalOpinions
{
set { _f_zl_approvalopinions = value; }
get { return _f_zl_approvalopinions; }
}
///
/// 质量管理科-审批不同意意见
///
public string F_ZL_ApprovalDisagree
{
set { _f_zl_approvaldisagree = value; }
get { return _f_zl_approvaldisagree; }
}
///
/// 质量管理科-补偿方式(实物、钱款【单位元】,若选择钱款,增加输入框输入补充内容)
///
public string F_ZL_CompensationMethod
{
set { _f_zl_compensationmethod = value; }
get { return _f_zl_compensationmethod; }
}
///
/// 质量管理科-补偿钱款
///
public string F_ZL_CompensationMoney
{
set { _f_zl_compensationmoney = value; }
get { return _f_zl_compensationmoney; }
}
///
/// 质量管理科-对应责任单位(生产、研发、农化、物流、质量管理科,销售内勤)
///
public string F_ZL_CResponsibleUnits
{
set { _f_zl_cresponsibleunits = value; }
get { return _f_zl_cresponsibleunits; }
}
///
/// 质量管理科-确认实收数量(吨)
///
public string F_ZL_Fquantity
{
set { _f_zl_fquantity = value; }
get { return _f_zl_fquantity; }
}
///
/// 质量管理科-改进要求
///
public string F_ZL_ImprovementRequirements
{
set { _f_zl_improvementrequirements = value; }
get { return _f_zl_improvementrequirements; }
}
///
/// 质量管理科-对应审批工作流单号
///
public string F_ZL_CApprovalNo
{
set { _f_zl_capprovalno = value; }
get { return _f_zl_capprovalno; }
}
///
/// 质量管理科-抽检-未备案、已备案
///
public string F_ZL_CJ_IsRecord
{
set { _f_zl_cj_isrecord = value; }
get { return _f_zl_cj_isrecord; }
}
///
/// 是否审核
///
public int? F_IsAudit
{
set { _f_isaudit = value; }
get { return _f_isaudit; }
}
///
/// 审核状态
///
public int? F_AuditState
{
set { _f_auditstate = value; }
get { return _f_auditstate; }
}
///
/// 审核人
///
public string F_AuditBy
{
set { _f_auditby = value; }
get { return _f_auditby; }
}
///
/// 审核时间
///
public DateTime? F_AuditOn
{
set { _f_auditon = value; }
get { return _f_auditon; }
}
///
/// 审核内容
///
public string F_AuditCont
{
set { _f_auditcont = value; }
get { return _f_auditcont; }
}
///
/// 是否超时
///
public int? F_IsOver
{
set { _f_isover = value; }
get { return _f_isover; }
}
///
/// 处理人
///
public string F_DealBy
{
set { _f_dealby = value; }
get { return _f_dealby; }
}
///
/// 处理时间
///
public DateTime? F_DealTime
{
set { _f_dealtime = value; }
get { return _f_dealtime; }
}
///
/// 处理内容
///
public string F_DealContent
{
set { _f_dealcontent = value; }
get { return _f_dealcontent; }
}
///
/// 处理结果:已处理,未处理
///
public string F_DealResult
{
set { _f_dealresult = value; }
get { return _f_dealresult; }
}
///
/// 未处理原因:资金、技术、人员、其他(若选其他,则手输)
///
public string F_DealReasons
{
set { _f_dealreasons = value; }
get { return _f_dealreasons; }
}
///
/// 是否建议回访(是,否)此项若选是,则流转到客服-待回访工单,若选否,则流转至客服待完结工单
///
public int? F_IsVisit
{
set { _f_isvisit = value; }
get { return _f_isvisit; }
}
///
/// 回访时间
///
public DateTime? F_VisitOn
{
set { _f_visiton = value; }
get { return _f_visiton; }
}
///
/// 回访人
///
public string F_VisitBy
{
set { _f_visitby = value; }
get { return _f_visitby; }
}
///
/// 回访结果:非常满意、满意、一般、不满意
///
public string F_VisitResult
{
set { _f_visitresult = value; }
get { return _f_visitresult; }
}
///
/// 回访不满意原因
///
public string F_VisitReason
{
set { _f_visitreason = value; }
get { return _f_visitreason; }
}
///
/// 添加人工号
///
public string F_CreateBy
{
set { _f_createby = value; }
get { return _f_createby; }
}
///
/// 添加时间
///
public DateTime? F_CreateOn
{
set { _f_createon = value; }
get { return _f_createon; }
}
///
/// 修改次数
///
public int? F_UpdateCount
{
set { _f_updatecount = value; }
get { return _f_updatecount; }
}
///
/// 修改人工号
///
public string F_UpdateBy
{
set { _f_updateby = value; }
get { return _f_updateby; }
}
///
/// 修改时间
///
public DateTime? F_UpdateOn
{
set { _f_updateon = value; }
get { return _f_updateon; }
}
///
/// 是否删除:0否,1是
///
public int? F_IsDelete
{
set { _f_isdelete = value; }
get { return _f_isdelete; }
}
///
/// 删除人工号
///
public string F_DeleteBy
{
set { _f_deleteby = value; }
get { return _f_deleteby; }
}
///
/// 删除时间
///
public DateTime? F_DeleteOn
{
set { _f_deleteon = value; }
get { return _f_deleteon; }
}
#endregion Model
}
///
/// 工单类型枚举
///
public enum EnumWOType
{
///
/// 投诉
///
[Description("投诉")]
Complaint=1,
///
/// 抽检
///
[Description("抽检")]
SpotCheck,
///
/// 咨询及需求
///
[Description("咨询及需求")]
ConsultingNeeds,
///
/// 其他
///
[Description("其他")]
Other
}
}