| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using Castle.ActiveRecord;
- using NHibernate.Criterion;
- namespace BizCom
- {
- [ActiveRecord("Ce_ErpSpecialRefund")]
- public class CeErpSpecialRefund : ComBase<CeErpSpecialRefund>
- {
- [PrimaryKey(PrimaryKeyType.Native)]
- public int ID { get; set; }
- private string _refoid = "";
- /// <summary>
- ///交易编号
- /// </summary>
- [Property]
- public string refoid
- {
- get { return _refoid; }
- set { _refoid = value; }
- }
- private string _refxml = "";
- /// <summary>
- /// </summary>
- [Property]
- public string refxml
- {
- get { return _refxml; }
- set { _refxml = value; }
- }
- private int _whethernotify = 0;
- [Property]
- public int whethernotify
- {
- get { return _whethernotify; }
- set { _whethernotify = value; }
- }
- public static CeErpSpecialRefund GetByTid(string tid)
- {
- return FindFirst(Expression.Eq("refoid", tid));
- }
- }
- }
|