| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- using Castle.ActiveRecord;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using NHibernate.Criterion;
- using System.Text;
- using System.Threading.Tasks;
- namespace BizCom
- {
- [ActiveRecord("Ce_ErpTradeAfterSaleExtend")]
- public class CeErpTradeAfterSaleExtend : ComBase<CeErpTradeAfterSaleExtend>
- {
- /// <summary>
- ///
- /// </summary>
- [PrimaryKey(PrimaryKeyType.Native)]
- public int ID { get; set; }
- private string _tid = "";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string tid
- {
- get { return _tid; }
- set { _tid = value; }
- }
- //责任人扣款逗号分开
- private string _RefundFees = "";
- [Property]
- public string RefundFees
- {
- get { return _RefundFees; }
- set { _RefundFees = value; }
- }
- private string _afterSaleBackImg = "";
- /// <summary>
- ///售后处理退回图片
- /// </summary>
- [Property]
- public string AfterSaleBackImg
- {
- get { return _afterSaleBackImg; }
- set { _afterSaleBackImg = value; }
- }
- private int _isComplain = 0;
- /// <summary>
- ///是否投诉单
- /// </summary>
- [Property]
- public int IsComplain
- {
- get { return _isComplain; }
- set { _isComplain = value; }
- }
- private int _isBad = 0;
- /// <summary>
- ///是否差评
- /// </summary>
- [Property]
- public int IsBad
- {
- get { return _isBad; }
- set { _isBad = value; }
- }
- private int _afterSalSend = 0;
- /// <summary>
- ///售后单发货
- /// </summary>
- [Property]
- public int AfterSalSend
- {
- get { return _afterSalSend; }
- set { _afterSalSend = value; }
- }
- private string _expressNo = "";
- /// <summary>
- ///售后单发货
- /// </summary>
- [Property]
- public string ExpressNo
- {
- get { return _expressNo; }
- set { _expressNo = value; }
- }
- private string _verifyStates = "";
- /// <summary>
- ///售后单状态 0主管审核1认可完成2拒绝3个人审核4自动完成5强制完成
- /// </summary>
- [Property]
- public string VerifyStates
- {
- get { return _verifyStates; }
- set { _verifyStates = value; }
- }
- private bool _isOriginal = false;
- [Property]
- public bool IsOriginal
- {
- get { return _isOriginal; }
- set { _isOriginal = value; }
- }
- /// <summary>
- /// 客戶售后结果
- /// </summary>
- private string _textResult;
- [Property]
- public string TextResult
- {
- get { return _textResult; }
- set { _textResult = value; }
- }
- /// <summary>
- /// 客戶售后差价
- /// </summary>
- private double _diffResultPrice;
- [Property]
- public double diffResultPrice
- {
- get { return _diffResultPrice; }
- set { _diffResultPrice = value; }
- }
- /// <summary>
- /// 是否修改责任金额
- /// </summary>
- private string _diffPhysical;
- [Property]
- public string diffPhysical
- {
- get { return _diffPhysical; }
- set { _diffPhysical = value; }
- }
- /// <summary>
- /// 供应商售后理由
- /// </summary>
- private string _supplierResponsible = "";
- [Property]
- public string supplierResponsible
- {
- get { return _supplierResponsible; }
- set { _supplierResponsible = value; }
- }
- private int _changeNum = 0;
- /// <summary>
- /// 修改次数
- /// </summary>
- [Property]
- public int ChangeNum
- {
- get { return _changeNum; }
- set { _changeNum = value; }
- }
- /// <summary>
- /// 不认可时间
- /// </summary>
- [Property]
- public DateTime? DisagreeTime { get; set; }
- public int _disagreeTimeOut = 0;
- /// <summary>
- /// 不认可超时次数
- /// </summary>
- [Property]
- public int DisagreeTimeOut
- {
- get { return _disagreeTimeOut; }
- set { _disagreeTimeOut = value; }
- }
- private int _reprintOut = 0;
- /// <summary>
- /// 重印超时次数
- /// </summary>
- [Property]
- public int ReprintOut
- {
- get { return _reprintOut; }
- set { _reprintOut = value; }
- }
- private int _preTimeOut = 0;
- /// <summary>
- /// 预完成超时次数
- /// </summary>
- [Property]
- public int PreTimeOut
- {
- get { return _preTimeOut; }
- set { _preTimeOut = value; }
- }
- private string _issueContent = "";
- /// <summary>
- /// 反馈问题
- /// </summary>
- [Property]
- public string IssueContent
- {
- get { return _issueContent; }
- set { _issueContent = value; }
- }
- private int _issueState = 0;
- /// <summary>
- /// 反馈状态 1提交 2完成
- /// </summary>
- [Property]
- public int IssueState
- {
- get { return _issueState; }
- set { _issueState = value; }
- }
- public static CeErpTradeAfterSaleExtend getByTid(string tid)
- {
- return FindFirst(Expression.Sql(string.Format("tid='{0}'", tid)));
- }
- }
- }
|