| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- using Castle.ActiveRecord;
- using System;
- using System.Text;
- namespace BizCom
- {
- [ActiveRecord("CE_ErpMailInfo")]
- public class CeErpMailInfo : ComBase<CeErpMailInfo>
- {
- /// <summary>
- ///
- /// </summary>
- [PrimaryKey(PrimaryKeyType.Native)]
- public int ID { get; set; }
- private string _name = "";
- /// <summary>
- ///우뒵츰俚
- /// </summary>
- [Property]
- public string name
- {
- get { return _name; }
- set { _name = value; }
- }
- private string _code = "";
- /// <summary>
- ///우뒵긍뵀
- /// </summary>
- [Property]
- public string code
- {
- get { return _code; }
- set { _code = value; }
- }
- private string _cpCode = "";
- /// <summary>
- ///듐힛溝固우뒵긍뵀
- /// </summary>
- [Property]
- public string cpCode
- {
- get { return _cpCode; }
- set { _cpCode = value; }
- }
- /// <summary>
- ///
- /// </summary>
- [Property]
- public DateTime? addTime { get; set; }
- private int _isAuth = 0;
- /// <summary>
- ///角뤠竿홈
- /// </summary>
- [Property]
- public int isAuth
- {
- get { return _isAuth; }
- set { _isAuth = value; }
- }
- public static void Del(object id)
- {
- StringBuilder sql = new StringBuilder();
- sql.AppendFormat("delete from CE_ErpMailInfo where id=" + id);
- ExecuteNonQuery(sql.ToString());
- }
- }
- }
|