26 lines
734 B
C#
26 lines
734 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Dlhis.ScheduledTask.WsProxy
|
|
{
|
|
public partial class ZHRS_POST : IEquatable<ZHRS_POST>
|
|
{
|
|
public bool Equals(ZHRS_POST other)
|
|
{
|
|
if (other is null)
|
|
return false;
|
|
|
|
return this.ZDEPID == other.ZDEPID
|
|
&& this.ZJOBACTID == other.ZJOBACTID
|
|
&& this.ZJOBID == other.ZJOBID
|
|
&& this.ZJOBNAME == other.ZJOBNAME;
|
|
}
|
|
|
|
public override bool Equals(object obj) => Equals(obj as ZHRS_POST);
|
|
public override int GetHashCode() => (ZDEPID, ZJOBACTID, ZJOBID, ZJOBNAME).GetHashCode();
|
|
}
|
|
}
|