49 lines
1.3 KiB
C#
49 lines
1.3 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region AssetIt
|
|||
|
public class AssetIt: BasicBaseObject
|
|||
|
{
|
|||
|
#region Constructor
|
|||
|
public AssetIt()
|
|||
|
{
|
|||
|
//AssetItID = ;
|
|||
|
SerialNo = string.Empty;
|
|||
|
Specification = string.Empty;
|
|||
|
IpAddress = string.Empty;
|
|||
|
MacAddress = string.Empty;
|
|||
|
}
|
|||
|
#endregion Constructor
|
|||
|
|
|||
|
#region Properties
|
|||
|
|
|||
|
public int AssetSerialID { get; set; }
|
|||
|
public int AssetItID { get; set; }
|
|||
|
public string IpAddress { get; set; }
|
|||
|
public string MacAddress { get; set; }
|
|||
|
public string SerialNo { get; set; }
|
|||
|
public string Specification { get; set; }
|
|||
|
|
|||
|
#endregion Properties
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
#region IAssetItService
|
|||
|
public interface IAssetItService
|
|||
|
{
|
|||
|
AssetIt Get(int id);
|
|||
|
List<AssetIt> Get();
|
|||
|
List<AssetIt> GetAssetIt(int assetserialid, int assetitid, string ipaddress, string macaddress, string serialno, string specification);
|
|||
|
List<AssetIt> GetAssetItSerialPicker(int assetid, int categoryid, int assetitid, int assetserialid);
|
|||
|
int Save(AssetIt item);
|
|||
|
void Delete(int id);
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
#endregion IAssetItService
|
|||
|
|
|||
|
#endregion AssetIt
|
|||
|
}
|