assetmanage.cs
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:12k
源码类别:
OA系统
开发平台:
C#
- // ===================================================================
- // 实体(COM.OA.Entity)项目
- //====================================================================
- // wangyp @Copy Right 2006-2008
- // 文件assetmanage.cs
- // 项目名称:工程项目管理
- // 创建时间:2008-9-23
- // 负责人:wangyp
- // ===================================================================
- using System;
- using System.Collections.Generic;
- namespace COM.OA.Entity
- {
- /// <summary>
- ///
- /// </summary>
- [Serializable]
- public class assetmanage
- {
- #region 变量定义
- ///<summary>
- ///资产管理id
- ///</summary>
- private int _am_id;
- ///<summary>
- ///资产名称
- ///</summary>
- private string _am_assetname = String.Empty;
- ///<summary>
- ///编号
- ///</summary>
- private string _am_number = String.Empty;
- ///<summary>
- ///计量单位
- ///</summary>
- private string _am_measureunit = String.Empty;
- ///<summary>
- ///数量
- ///</summary>
- private int _am_scalar;
- ///<summary>
- ///规格型号
- ///</summary>
- private string _am_spectype = String.Empty;
- ///<summary>
- ///出厂编号
- ///</summary>
- private string _am_leavefactorynumber = String.Empty;
- ///<summary>
- ///技术证书号
- ///</summary>
- private string _am_artletternumber = String.Empty;
- ///<summary>
- ///购买价格
- ///</summary>
- private double _am_buyprice;
- ///<summary>
- ///安装费
- ///</summary>
- private double _am_installcost;
- ///<summary>
- ///折旧
- ///</summary>
- private double _am_depreciationcost;
- ///<summary>
- ///净值
- ///</summary>
- private double _am_betvalue;
- ///<summary>
- ///生产单位
- ///</summary>
- private string _am_production = String.Empty;
- ///<summary>
- ///生产年月
- ///</summary>
- private DateTime _am_productiondate;
- ///<summary>
- ///交付使用日期
- ///</summary>
- private DateTime _am_deliverusetime;
- ///<summary>
- ///预计使用年限
- ///</summary>
- private int _am_advanceuseyear;
- ///<summary>
- ///请购人或部门
- ///</summary>
- private string _am_buyordept = String.Empty;
- ///<summary>
- ///保管人或部门
- ///</summary>
- private string _am_storageordept = String.Empty;
- ///<summary>
- ///用途
- ///</summary>
- private string _am_purpose = String.Empty;
- ///<summary>
- ///使用部门id(外键)
- ///</summary>
- private int _am_dept_id;
- ///<summary>
- ///使用地点
- ///</summary>
- private string _am_useaddress = String.Empty;
- ///<summary>
- ///使用状态
- ///</summary>
- private int _am_usestate;
- ///<summary>
- ///录入人id
- ///</summary>
- private int _am_bookerid;
- ///<summary>
- ///备注
- ///</summary>
- private string _am_remark = String.Empty;
- ///<summary>
- ///录入时间
- ///</summary>
- private DateTime _am_registertime;
- ///<summary>
- ///是否报废
- ///</summary>
- private int _am_isscrap;
- ///<summary>
- ///
- ///</summary>
- private department _department = null;
- #endregion
- #region 构造函数
- ///<summary>
- ///
- ///</summary>
- public assetmanage()
- {
- }
- ///<summary>
- ///
- ///</summary>
- public assetmanage
- (
- int am_id,
- string am_assetname,
- string am_number,
- string am_measureunit,
- int am_scalar,
- string am_spectype,
- string am_leavefactorynumber,
- string am_artletternumber,
- double am_buyprice,
- double am_installcost,
- double am_depreciationcost,
- double am_betvalue,
- string am_production,
- DateTime am_productiondate,
- DateTime am_deliverusetime,
- int am_advanceuseyear,
- string am_buyordept,
- string am_storageordept,
- string am_purpose,
- int am_dept_id,
- string am_useaddress,
- int am_usestate,
- int am_bookerid,
- string am_remark,
- DateTime am_registertime,
- int am_isscrap
- )
- {
- _am_id = am_id;
- _am_assetname = am_assetname;
- _am_number = am_number;
- _am_measureunit = am_measureunit;
- _am_scalar = am_scalar;
- _am_spectype = am_spectype;
- _am_leavefactorynumber = am_leavefactorynumber;
- _am_artletternumber = am_artletternumber;
- _am_buyprice = am_buyprice;
- _am_installcost = am_installcost;
- _am_depreciationcost = am_depreciationcost;
- _am_betvalue = am_betvalue;
- _am_production = am_production;
- _am_productiondate = am_productiondate;
- _am_deliverusetime = am_deliverusetime;
- _am_advanceuseyear = am_advanceuseyear;
- _am_buyordept = am_buyordept;
- _am_storageordept = am_storageordept;
- _am_purpose = am_purpose;
- _am_dept_id = am_dept_id;
- _am_useaddress = am_useaddress;
- _am_usestate = am_usestate;
- _am_bookerid = am_bookerid;
- _am_remark = am_remark;
- _am_registertime = am_registertime;
- _am_isscrap = am_isscrap;
- }
- #endregion
- #region 公共属性
- ///<summary>
- ///资产管理id
- ///</summary>
- public int am_id
- {
- get { return _am_id; }
- set { _am_id = value; }
- }
- ///<summary>
- ///资产名称
- ///</summary>
- public string am_assetname
- {
- get { return _am_assetname; }
- set { _am_assetname = value; }
- }
- ///<summary>
- ///编号
- ///</summary>
- public string am_number
- {
- get { return _am_number; }
- set { _am_number = value; }
- }
- ///<summary>
- ///计量单位
- ///</summary>
- public string am_measureunit
- {
- get { return _am_measureunit; }
- set { _am_measureunit = value; }
- }
- ///<summary>
- ///数量
- ///</summary>
- public int am_scalar
- {
- get { return _am_scalar; }
- set { _am_scalar = value; }
- }
- ///<summary>
- ///规格型号
- ///</summary>
- public string am_spectype
- {
- get { return _am_spectype; }
- set { _am_spectype = value; }
- }
- ///<summary>
- ///出厂编号
- ///</summary>
- public string am_leavefactorynumber
- {
- get { return _am_leavefactorynumber; }
- set { _am_leavefactorynumber = value; }
- }
- ///<summary>
- ///技术证书号
- ///</summary>
- public string am_artletternumber
- {
- get { return _am_artletternumber; }
- set { _am_artletternumber = value; }
- }
- ///<summary>
- ///购买价格
- ///</summary>
- public double am_buyprice
- {
- get { return _am_buyprice; }
- set { _am_buyprice = value; }
- }
- ///<summary>
- ///安装费
- ///</summary>
- public double am_installcost
- {
- get { return _am_installcost; }
- set { _am_installcost = value; }
- }
- ///<summary>
- ///折旧
- ///</summary>
- public double am_depreciationcost
- {
- get { return _am_depreciationcost; }
- set { _am_depreciationcost = value; }
- }
- ///<summary>
- ///净值
- ///</summary>
- public double am_betvalue
- {
- get { return _am_betvalue; }
- set { _am_betvalue = value; }
- }
- ///<summary>
- ///生产单位
- ///</summary>
- public string am_production
- {
- get { return _am_production; }
- set { _am_production = value; }
- }
- ///<summary>
- ///生产年月
- ///</summary>
- public DateTime am_productiondate
- {
- get { return _am_productiondate; }
- set { _am_productiondate = value; }
- }
- ///<summary>
- ///交付使用日期
- ///</summary>
- public DateTime am_deliverusetime
- {
- get { return _am_deliverusetime; }
- set { _am_deliverusetime = value; }
- }
- ///<summary>
- ///预计使用年限
- ///</summary>
- public int am_advanceuseyear
- {
- get { return _am_advanceuseyear; }
- set { _am_advanceuseyear = value; }
- }
- ///<summary>
- ///请购人或部门
- ///</summary>
- public string am_buyordept
- {
- get { return _am_buyordept; }
- set { _am_buyordept = value; }
- }
- ///<summary>
- ///保管人或部门
- ///</summary>
- public string am_storageordept
- {
- get { return _am_storageordept; }
- set { _am_storageordept = value; }
- }
- ///<summary>
- ///用途
- ///</summary>
- public string am_purpose
- {
- get { return _am_purpose; }
- set { _am_purpose = value; }
- }
- ///<summary>
- ///使用部门id(外键)
- ///</summary>
- public int am_dept_id
- {
- get { return _am_dept_id; }
- set { _am_dept_id = value; }
- }
- ///<summary>
- ///使用地点
- ///</summary>
- public string am_useaddress
- {
- get { return _am_useaddress; }
- set { _am_useaddress = value; }
- }
- ///<summary>
- ///使用状态
- ///</summary>
- public int am_usestate
- {
- get { return _am_usestate; }
- set { _am_usestate = value; }
- }
- ///<summary>
- ///录入人id
- ///</summary>
- public int am_bookerid
- {
- get { return _am_bookerid; }
- set { _am_bookerid = value; }
- }
- ///<summary>
- ///备注
- ///</summary>
- public string am_remark
- {
- get { return _am_remark; }
- set { _am_remark = value; }
- }
- ///<summary>
- ///录入时间
- ///</summary>
- public DateTime am_registertime
- {
- get { return _am_registertime; }
- set { _am_registertime = value; }
- }
- ///<summary>
- ///是否报废
- ///</summary>
- public int am_isscrap
- {
- get { return _am_isscrap; }
- set { _am_isscrap = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public department department
- {
- get { return _department; }
- set { _department = value; }
- }
- #endregion
- }
- }