EchoTex_Payroll/HRM.BO/SearchTools/DbColumns.cs
2024-10-14 10:01:49 +06:00

49 lines
1.2 KiB
C#

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using HRM.BO;
namespace HRM.BO
{
public class DbColumns : BasicBaseObject
{
#region Constructor
public DbColumns()
{
}
#endregion
#region Properties
public int TableId { get; set; }
public string TableName { get; set; }
public string ColumnName { get; set; }
public int Size { get; set; }
public int AllowNull { get; set; }
public ColumnDataTypeEnum DataType { get; set; }
public bool UsedAsSearch { get; set; }
public string TableColumnName { get; set; }
public string SearchName { get; set; }
public string StaticValue { get; set; }
public int Width { get; set; }
public EnumSearchToolColumnType ColumnType { get; set; }
#endregion
}
}
public interface IDbColumnsService
{
public void Save(DbColumns group);
public void Delete(int groupID);
public DbColumns Get(int groupID);
public List<DbColumns> Get();
public List<DbColumns> GetByTableId(int tableId);
public List<DbColumns> GetAll();
}