| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- using Castle.ActiveRecord;
- using System;
- using System.Text;
- namespace BizCom
- {
- [ActiveRecord("CE_ErpDesignerFinishRate")]
- public class CeErpDesignerFinishRate : ComBase<CeErpDesignerFinishRate>
- {
- /// <summary>
- ///
- /// </summary>
- [PrimaryKey(PrimaryKeyType.Native)]
- public int ID { get; set; }
- private int _did = 0;
- /// <summary>
- ///设计师ID
- /// </summary>
- [Property]
- public int did
- {
- get { return _did; }
- set { _did = value; }
- }
- private string _amount = "";
- /// <summary>
- ///当天总金额
- /// </summary>
- [Property]
- public string Amount
- {
- get { return _amount; }
- set { _amount = value; }
- }
- private int _allOrder = 0;
- /// <summary>
- ///当天总数量
- /// </summary>
- [Property]
- public int AllOrder
- {
- get { return _allOrder; }
- set { _allOrder = value; }
- }
- private int _waitDesign = 0;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public int WaitDesign
- {
- get { return _waitDesign; }
- set { _waitDesign = value; }
- }
- private int _designing = 0;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public int Designing
- {
- get { return _designing; }
- set { _designing = value; }
- }
- private int _designFinish = 0;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public int DesignFinish
- {
- get { return _designFinish; }
- set { _designFinish = value; }
- }
- private string _finalizationRate = "";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string FinalizationRate
- {
- get { return _finalizationRate; }
- set { _finalizationRate = value; }
- }
- private string _payPrice = "";
- /// <summary>
- ///当天奖励金额
- /// </summary>
- [Property]
- public string PayPrice
- {
- get { return _payPrice; }
- set { _payPrice = value; }
- }
- /// <summary>
- ///
- /// </summary>
- [Property]
- public DateTime? CTime { get; set; }
- public static void Del(object id)
- {
- StringBuilder sql = new StringBuilder();
- sql.AppendFormat("delete from CE_ErpDesignerFinishRate where id=" + id);
- ExecuteNonQuery(sql.ToString());
- }
- }
- }
|