assetmanage.cs
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:12k
源码类别:

OA系统

开发平台:

C#

  1. // =================================================================== 
  2. // 实体(COM.OA.Entity)项目
  3. //====================================================================
  4. // wangyp @Copy Right 2006-2008
  5. // 文件assetmanage.cs
  6. // 项目名称:工程项目管理
  7. // 创建时间:2008-9-23
  8. // 负责人:wangyp
  9. // ===================================================================
  10. using System;
  11. using System.Collections.Generic;
  12. namespace COM.OA.Entity
  13. {
  14.     /// <summary>
  15.     ///
  16.     /// </summary>
  17.     [Serializable]
  18.     public class assetmanage
  19.     {
  20.         #region 变量定义
  21.         ///<summary>
  22.         ///资产管理id
  23.         ///</summary>
  24.         private int _am_id;
  25.         ///<summary>
  26.         ///资产名称
  27.         ///</summary>
  28.         private string _am_assetname = String.Empty;
  29.         ///<summary>
  30.         ///编号
  31.         ///</summary>
  32.         private string _am_number = String.Empty;
  33.         ///<summary>
  34.         ///计量单位
  35.         ///</summary>
  36.         private string _am_measureunit = String.Empty;
  37.         ///<summary>
  38.         ///数量
  39.         ///</summary>
  40.         private int _am_scalar;
  41.         ///<summary>
  42.         ///规格型号
  43.         ///</summary>
  44.         private string _am_spectype = String.Empty;
  45.         ///<summary>
  46.         ///出厂编号
  47.         ///</summary>
  48.         private string _am_leavefactorynumber = String.Empty;
  49.         ///<summary>
  50.         ///技术证书号
  51.         ///</summary>
  52.         private string _am_artletternumber = String.Empty;
  53.         ///<summary>
  54.         ///购买价格
  55.         ///</summary>
  56.         private double _am_buyprice;
  57.         ///<summary>
  58.         ///安装费
  59.         ///</summary>
  60.         private double _am_installcost;
  61.         ///<summary>
  62.         ///折旧
  63.         ///</summary>
  64.         private double _am_depreciationcost;
  65.         ///<summary>
  66.         ///净值
  67.         ///</summary>
  68.         private double _am_betvalue;
  69.         ///<summary>
  70.         ///生产单位
  71.         ///</summary>
  72.         private string _am_production = String.Empty;
  73.         ///<summary>
  74.         ///生产年月
  75.         ///</summary>
  76.         private DateTime _am_productiondate;
  77.         ///<summary>
  78.         ///交付使用日期
  79.         ///</summary>
  80.         private DateTime _am_deliverusetime;
  81.         ///<summary>
  82.         ///预计使用年限
  83.         ///</summary>
  84.         private int _am_advanceuseyear;
  85.         ///<summary>
  86.         ///请购人或部门
  87.         ///</summary>
  88.         private string _am_buyordept = String.Empty;
  89.         ///<summary>
  90.         ///保管人或部门
  91.         ///</summary>
  92.         private string _am_storageordept = String.Empty;
  93.         ///<summary>
  94.         ///用途
  95.         ///</summary>
  96.         private string _am_purpose = String.Empty;
  97.         ///<summary>
  98.         ///使用部门id(外键)
  99.         ///</summary>
  100.         private int _am_dept_id;
  101.         ///<summary>
  102.         ///使用地点
  103.         ///</summary>
  104.         private string _am_useaddress = String.Empty;
  105.         ///<summary>
  106.         ///使用状态
  107.         ///</summary>
  108.         private int _am_usestate;
  109.         ///<summary>
  110.         ///录入人id
  111.         ///</summary>
  112.         private int _am_bookerid;
  113.         ///<summary>
  114.         ///备注
  115.         ///</summary>
  116.         private string _am_remark = String.Empty;
  117.         ///<summary>
  118.         ///录入时间
  119.         ///</summary>
  120.         private DateTime _am_registertime;
  121.         ///<summary>
  122.         ///是否报废
  123.         ///</summary>
  124.         private int _am_isscrap;
  125.         ///<summary>
  126.         ///
  127.         ///</summary>
  128.         private department _department = null;
  129.         #endregion
  130.         #region 构造函数
  131.         ///<summary>
  132.         ///
  133.         ///</summary>
  134.         public assetmanage()
  135.         {
  136.         }
  137.         ///<summary>
  138.         ///
  139.         ///</summary>
  140.         public assetmanage
  141.         (
  142.             int am_id,
  143.             string am_assetname,
  144.             string am_number,
  145.             string am_measureunit,
  146.             int am_scalar,
  147.             string am_spectype,
  148.             string am_leavefactorynumber,
  149.             string am_artletternumber,
  150.             double am_buyprice,
  151.             double am_installcost,
  152.             double am_depreciationcost,
  153.             double am_betvalue,
  154.             string am_production,
  155.             DateTime am_productiondate,
  156.             DateTime am_deliverusetime,
  157.             int am_advanceuseyear,
  158.             string am_buyordept,
  159.             string am_storageordept,
  160.             string am_purpose,
  161.             int am_dept_id,
  162.             string am_useaddress,
  163.             int am_usestate,
  164.             int am_bookerid,
  165.             string am_remark,
  166.             DateTime am_registertime,
  167.             int am_isscrap
  168.         )
  169.         {
  170.             _am_id = am_id;
  171.             _am_assetname = am_assetname;
  172.             _am_number = am_number;
  173.             _am_measureunit = am_measureunit;
  174.             _am_scalar = am_scalar;
  175.             _am_spectype = am_spectype;
  176.             _am_leavefactorynumber = am_leavefactorynumber;
  177.             _am_artletternumber = am_artletternumber;
  178.             _am_buyprice = am_buyprice;
  179.             _am_installcost = am_installcost;
  180.             _am_depreciationcost = am_depreciationcost;
  181.             _am_betvalue = am_betvalue;
  182.             _am_production = am_production;
  183.             _am_productiondate = am_productiondate;
  184.             _am_deliverusetime = am_deliverusetime;
  185.             _am_advanceuseyear = am_advanceuseyear;
  186.             _am_buyordept = am_buyordept;
  187.             _am_storageordept = am_storageordept;
  188.             _am_purpose = am_purpose;
  189.             _am_dept_id = am_dept_id;
  190.             _am_useaddress = am_useaddress;
  191.             _am_usestate = am_usestate;
  192.             _am_bookerid = am_bookerid;
  193.             _am_remark = am_remark;
  194.             _am_registertime = am_registertime;
  195.             _am_isscrap = am_isscrap;
  196.         }
  197.         #endregion
  198.         #region 公共属性
  199.         ///<summary>
  200.         ///资产管理id
  201.         ///</summary>
  202.         public int am_id
  203.         {
  204.             get { return _am_id; }
  205.             set { _am_id = value; }
  206.         }
  207.         ///<summary>
  208.         ///资产名称
  209.         ///</summary>
  210.         public string am_assetname
  211.         {
  212.             get { return _am_assetname; }
  213.             set { _am_assetname = value; }
  214.         }
  215.         ///<summary>
  216.         ///编号
  217.         ///</summary>
  218.         public string am_number
  219.         {
  220.             get { return _am_number; }
  221.             set { _am_number = value; }
  222.         }
  223.         ///<summary>
  224.         ///计量单位
  225.         ///</summary>
  226.         public string am_measureunit
  227.         {
  228.             get { return _am_measureunit; }
  229.             set { _am_measureunit = value; }
  230.         }
  231.         ///<summary>
  232.         ///数量
  233.         ///</summary>
  234.         public int am_scalar
  235.         {
  236.             get { return _am_scalar; }
  237.             set { _am_scalar = value; }
  238.         }
  239.         ///<summary>
  240.         ///规格型号
  241.         ///</summary>
  242.         public string am_spectype
  243.         {
  244.             get { return _am_spectype; }
  245.             set { _am_spectype = value; }
  246.         }
  247.         ///<summary>
  248.         ///出厂编号
  249.         ///</summary>
  250.         public string am_leavefactorynumber
  251.         {
  252.             get { return _am_leavefactorynumber; }
  253.             set { _am_leavefactorynumber = value; }
  254.         }
  255.         ///<summary>
  256.         ///技术证书号
  257.         ///</summary>
  258.         public string am_artletternumber
  259.         {
  260.             get { return _am_artletternumber; }
  261.             set { _am_artletternumber = value; }
  262.         }
  263.         ///<summary>
  264.         ///购买价格
  265.         ///</summary>
  266.         public double am_buyprice
  267.         {
  268.             get { return _am_buyprice; }
  269.             set { _am_buyprice = value; }
  270.         }
  271.         ///<summary>
  272.         ///安装费
  273.         ///</summary>
  274.         public double am_installcost
  275.         {
  276.             get { return _am_installcost; }
  277.             set { _am_installcost = value; }
  278.         }
  279.         ///<summary>
  280.         ///折旧
  281.         ///</summary>
  282.         public double am_depreciationcost
  283.         {
  284.             get { return _am_depreciationcost; }
  285.             set { _am_depreciationcost = value; }
  286.         }
  287.         ///<summary>
  288.         ///净值
  289.         ///</summary>
  290.         public double am_betvalue
  291.         {
  292.             get { return _am_betvalue; }
  293.             set { _am_betvalue = value; }
  294.         }
  295.         ///<summary>
  296.         ///生产单位
  297.         ///</summary>
  298.         public string am_production
  299.         {
  300.             get { return _am_production; }
  301.             set { _am_production = value; }
  302.         }
  303.         ///<summary>
  304.         ///生产年月
  305.         ///</summary>
  306.         public DateTime am_productiondate
  307.         {
  308.             get { return _am_productiondate; }
  309.             set { _am_productiondate = value; }
  310.         }
  311.         ///<summary>
  312.         ///交付使用日期
  313.         ///</summary>
  314.         public DateTime am_deliverusetime
  315.         {
  316.             get { return _am_deliverusetime; }
  317.             set { _am_deliverusetime = value; }
  318.         }
  319.         ///<summary>
  320.         ///预计使用年限
  321.         ///</summary>
  322.         public int am_advanceuseyear
  323.         {
  324.             get { return _am_advanceuseyear; }
  325.             set { _am_advanceuseyear = value; }
  326.         }
  327.         ///<summary>
  328.         ///请购人或部门
  329.         ///</summary>
  330.         public string am_buyordept
  331.         {
  332.             get { return _am_buyordept; }
  333.             set { _am_buyordept = value; }
  334.         }
  335.         ///<summary>
  336.         ///保管人或部门
  337.         ///</summary>
  338.         public string am_storageordept
  339.         {
  340.             get { return _am_storageordept; }
  341.             set { _am_storageordept = value; }
  342.         }
  343.         ///<summary>
  344.         ///用途
  345.         ///</summary>
  346.         public string am_purpose
  347.         {
  348.             get { return _am_purpose; }
  349.             set { _am_purpose = value; }
  350.         }
  351.         ///<summary>
  352.         ///使用部门id(外键)
  353.         ///</summary>
  354.         public int am_dept_id
  355.         {
  356.             get { return _am_dept_id; }
  357.             set { _am_dept_id = value; }
  358.         }
  359.         ///<summary>
  360.         ///使用地点
  361.         ///</summary>
  362.         public string am_useaddress
  363.         {
  364.             get { return _am_useaddress; }
  365.             set { _am_useaddress = value; }
  366.         }
  367.         ///<summary>
  368.         ///使用状态
  369.         ///</summary>
  370.         public int am_usestate
  371.         {
  372.             get { return _am_usestate; }
  373.             set { _am_usestate = value; }
  374.         }
  375.         ///<summary>
  376.         ///录入人id
  377.         ///</summary>
  378.         public int am_bookerid
  379.         {
  380.             get { return _am_bookerid; }
  381.             set { _am_bookerid = value; }
  382.         }
  383.         ///<summary>
  384.         ///备注
  385.         ///</summary>
  386.         public string am_remark
  387.         {
  388.             get { return _am_remark; }
  389.             set { _am_remark = value; }
  390.         }
  391.         ///<summary>
  392.         ///录入时间
  393.         ///</summary>
  394.         public DateTime am_registertime
  395.         {
  396.             get { return _am_registertime; }
  397.             set { _am_registertime = value; }
  398.         }
  399.         ///<summary>
  400.         ///是否报废
  401.         ///</summary>
  402.         public int am_isscrap
  403.         {
  404.             get { return _am_isscrap; }
  405.             set { _am_isscrap = value; }
  406.         }
  407.         ///<summary>
  408.         ///
  409.         ///</summary>
  410.         public department department
  411.         {
  412.             get { return _department; }
  413.             set { _department = value; }
  414.         }
  415.         #endregion
  416.     }
  417. }