123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- using OASystem.Domain.Entities.Groups;
- using System;
- using System.Collections.Generic;
- using System.Diagnostics.CodeAnalysis;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Dtos.Groups
- {
-
-
-
- public class DecreasePaymentsDto
- {
- public int UserId { get; set; }
- public int CTId { get; set; }
- public int PageIndex { get; set; } = 1;
- public int PageSize { get; set; } = 10;
-
- }
- public class DecreasePaymentsListDto
- {
- public int UserId { get; set; }
- public int DiId { get; set; }
- public int IsPaySign { get; set; } = -1;
- }
-
-
-
- public class DecreasePaymentsOpDto
- {
-
-
-
-
-
- public int Status { get; set; }
-
-
-
- public int PayDId { get; set; }
-
-
-
- public int OrbitalPrivateTransfer { get; set; }
-
-
-
- public string OtherBankName { get; set; }
-
-
-
- public string OtherSideNo { get; set; }
-
-
-
- public string OtherSideName
- {
- get; set;
- }
-
-
-
- public int Id { get; set; }
-
-
-
- public int DiId { get; set; }
-
-
-
-
- public int SupplierArea { get; set; } = 1;
-
-
-
- public int SupplierTypeId { get; set; } = 0;
-
-
-
- public string SupplierName { get; set; }
-
-
-
- public string SupplierContact { get; set; }
-
-
-
- public string SupplierContactNumber { get; set; }
-
-
-
- public string SupplierSocialAccount { get; set; }
-
-
-
- public string SupplierEmail { get; set; }
-
-
-
- public string SupplierAddress { get; set; }
-
-
-
- public string PriceName { get; set; }
-
-
-
- public decimal Price { get; set; }
-
-
-
- public decimal Quantity { get; set; }
-
-
-
- public decimal FeeTotal { get; set; }
-
-
-
- public int Currency { get; set; }
-
-
-
- public string FilePath { get; set; }
-
-
-
- public int CreateUserId { get; set; }
-
-
-
- public string Remark { get; set; }
-
-
-
- public string OTAOrderNo { get; set; }
-
-
-
- public int IsSelect { get; set; }
- }
- public class DecreasePaymentsByIdDto
- {
- public int Id { get; set; }
- }
- public class DelFileDto
- {
- public string fileName { get; set; }
- public int Id { get; set; }
- }
- public class AssociateSupplierDto
- {
- public string param { get; set; }
- }
- public class ProductComparer : IEqualityComparer<Grp_DecreasePayments>
- {
- public bool Equals(Grp_DecreasePayments x, Grp_DecreasePayments y)
- {
- if (Object.ReferenceEquals(x,y))
- {
- return true;
- }
- var xStr =
- x.SupplierAddress +
- x.SupplierArea +
- x.SupplierContact +
- x.SupplierContactNumber +
- x.SupplierEmail +
- x.SupplierName +
- x.SupplierSocialAccount +
- x.SupplierTypeId;
- var yStr =
- y.SupplierAddress +
- y.SupplierArea +
- y.SupplierContact +
- y.SupplierContactNumber +
- y.SupplierEmail +
- y.SupplierName +
- y.SupplierSocialAccount +
- y.SupplierTypeId;
- if (xStr == yStr)
- {
- return true;
- }
- return false;
- }
- public int GetHashCode([DisallowNull] Grp_DecreasePayments product)
- {
- return 0;
- }
- }
- }
|