33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
using HRD.WebApi.DAL;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace DAL.Models.Entities
|
|
{
|
|
public partial class WindreamColumnsToDepartment : BaseEntity
|
|
{
|
|
public int WindreamColumnsToDepartmentId { get; set; }
|
|
public int AttributeDwAttrId { get; set; }
|
|
public string AttributeSzColumnName { get; set; }
|
|
public string Comment { get; set; }
|
|
public int AttributeDwAttrType { get; set; }
|
|
public int ComumnLength { get; set; }
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public string ObjectTypeAttributeSzName { get; set; }
|
|
|
|
public int ClientId { get; set; }
|
|
public string ObjectTypeszDocTypeName { get; set; }
|
|
public int DepartmentId { get; set; }
|
|
public int Seq { get; set; }
|
|
public int WindreamSearchId { get; set; }
|
|
|
|
//generic Id
|
|
public override int GetEntityId() => WindreamColumnsToDepartmentId;
|
|
|
|
//generic ToString()
|
|
public override string ToString() => $"WindreamColumnsToDepartmentId: {GetEntityId()}; AttributeSzColumnName: {AttributeSzColumnName}; DepartmentId: {DepartmentId}";
|
|
|
|
//generic EntityInfo()
|
|
public override string EntityInfo() => base.EntityInfo();
|
|
}
|
|
} |