| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- using System;
- using Castle.ActiveRecord;
- using System.Text;
- namespace BizCom
- {
- [ActiveRecord("S_BuChaJia")]
- public class S_BuChaJia : ComBase<S_BuChaJia>
- {
- /// <summary>
- ///
- /// </summary>
- [PrimaryKey(PrimaryKeyType.Native)]
- public int ID { get; set; }
- private string _ctid="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string ctid
- {
- get{ return _ctid; }
- set{ _ctid=value; }
- }
- /// <summary>
- ///
- /// </summary>
- [Property]
- public DateTime? addtime { get; set; }
- private string _dotype="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string dotype
- {
- get{ return _dotype; }
- set{ _dotype=value; }
- }
- private int _userId=0;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public int userId
- {
- get{ return _userId; }
- set{ _userId=value; }
- }
- private int _refundState=0;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public int refundState
- {
- get{ return _refundState; }
- set{ _refundState=value; }
- }
- private int _orderState=0;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public int orderState
- {
- get{ return _orderState; }
- set{ _orderState=value; }
- }
- private string _posCode="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string posCode
- {
- get{ return _posCode; }
- set{ _posCode=value; }
- }
- private string _comCode="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string comCode
- {
- get{ return _comCode; }
- set{ _comCode=value; }
- }
- private string _outSid="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string outSid
- {
- get{ return _outSid; }
- set{ _outSid=value; }
- }
- public static void Del(object id)
- {
- StringBuilder sql = new StringBuilder();
- sql.AppendFormat("delete from S_BuChaJia where id=" + id);
- ExecuteNonQuery(sql.ToString());
- }
- }
- }
|