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