public bool Equals(ConventionInfoDto other) { if (other == null) { return(false); } return(Id.Equals(other.Id) && RequestId.Equals(other.RequestId) && CountryId.Equals(other.CountryId) && EarlyRegTypeId.Equals(other.EarlyRegTypeId) && string.Equals((string)RegNumberInternationalApp, (string)other.RegNumberInternationalApp) && string.Equals((string)PublishRegNumberInternationalApp, (string)other.PublishRegNumberInternationalApp) && string.Equals((string)RegNumberEurasianApp, (string)other.RegNumberEurasianApp) && string.Equals((string)PublishRegNumberEurasianApp, (string)other.PublishRegNumberEurasianApp) && string.Equals((string)HeadIps, (string)other.HeadIps) && Object.Equals(DateInternationalApp, other.DateInternationalApp) && Object.Equals(PublishDateInternationalApp, other.PublishDateInternationalApp) && Object.Equals(DateEurasianApp, other.DateEurasianApp) && Object.Equals(PublishDateEurasianApp, other.PublishDateEurasianApp) && Object.Equals(InternationalAppToNationalPhaseTransferDate, other.InternationalAppToNationalPhaseTransferDate) && Object.Equals(TermNationalPhaseFirsChapter, other.TermNationalPhaseFirsChapter) && Object.Equals(TermNationalPhaseSecondChapter, other.TermNationalPhaseSecondChapter)); }
public bool Equals(RequestEarlyRegDto other) { if (other == null) { return(false); } return(Id.Equals(other.Id) && EarlyRegTypeId.Equals(other.EarlyRegTypeId) && RegCountryId.Equals(other.RegCountryId) && string.Equals(RegNumber, other.RegNumber) && Equals(RegDate, other.RegDate)); }