using Castle.ActiveRecord; using System; using System.Text; namespace BizCom { [ActiveRecord("CE_ErpDesignerFinishRate")] public class CeErpDesignerFinishRate : ComBase { /// /// /// [PrimaryKey(PrimaryKeyType.Native)] public int ID { get; set; } private int _did = 0; /// ///设计师ID /// [Property] public int did { get { return _did; } set { _did = value; } } private string _amount = ""; /// ///当天总金额 /// [Property] public string Amount { get { return _amount; } set { _amount = value; } } private int _allOrder = 0; /// ///当天总数量 /// [Property] public int AllOrder { get { return _allOrder; } set { _allOrder = value; } } private int _waitDesign = 0; /// /// /// [Property] public int WaitDesign { get { return _waitDesign; } set { _waitDesign = value; } } private int _designing = 0; /// /// /// [Property] public int Designing { get { return _designing; } set { _designing = value; } } private int _designFinish = 0; /// /// /// [Property] public int DesignFinish { get { return _designFinish; } set { _designFinish = value; } } private string _finalizationRate = ""; /// /// /// [Property] public string FinalizationRate { get { return _finalizationRate; } set { _finalizationRate = value; } } private string _payPrice = ""; /// ///当天奖励金额 /// [Property] public string PayPrice { get { return _payPrice; } set { _payPrice = value; } } /// /// /// [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()); } } }