using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 设备费用记录
///
[SugarTable("product_cost_record")]
public class ProductCostRecord :CorpTraceEntity,ISorter,IUseStatus, System.ICloneable
{
///
///
///
public ProductCostRecord() { }
///
///
///
public ProductCostRecord(ProductCostRecord rhs):base(rhs)
{
this.ProductID = rhs.ProductID;
this.CostCatalog = rhs.CostCatalog;
this.CostType = rhs.CostType;
this.CostContent = rhs.CostContent;
this.CostTime = rhs.CostTime;
this.CostValue = rhs.CostValue;
this.SortCode = rhs.SortCode;
this.UseStatus = rhs.UseStatus;
this.Description = rhs.Description;
}
///
/// 设备标识
///
public long ProductID
{
get { return _productid; }
set { _productid = value; }
}
private long _productid;
///
/// 费用类别
///
public string CostCatalog
{
get { return _costcatalog; }
set { _costcatalog = value; }
}
private string _costcatalog;
///
/// 费用类型
///
public string CostType
{
get { return _costtype; }
set { _costtype = value; }
}
private string _costtype;
///
/// 费用明细
///
public string CostContent
{
get { return _costcontent; }
set { _costcontent = value; }
}
private string _costcontent;
///
/// 费用时间
///
public DateTime CostTime
{
get { return _costtime; }
set { _costtime = value; }
}
private DateTime _costtime;
///
/// 费用
///
public double CostValue
{
get { return _costvalue; }
set { _costvalue = value; }
}
private double _costvalue;
///
/// 使用状态
///
public int UseStatus
{
get { return _usestatus; }
set { _usestatus = value; }
}
private int _usestatus;
///
/// 排序码
///
public int SortCode
{
get { return _sortcode; }
set { _sortcode = value; }
}
private int _sortcode;
///
/// 说明
///
public string Description
{
get { return _description; }
set { _description = value; }
}
private string _description;
///
///
///
public ProductCostRecord Clone()
{
return (ProductCostRecord)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}