package cardpinorders import "time" type CardPinOrderDTO struct { Id int64 `json:"id"` UniqueId *string `json:"uniqueId"` UserId *int64 `json:"userId"` CardTypeId int64 `json:"cardTypeId"` CardNumber *string `json:"cardNumber"` Region string `json:"region"` BranchId int64 `json:"branchId"` CustomerName string `json:"customerName"` CustomerSurname string `json:"customerSurname"` CustomerPatronicName *string `json:"customerPatronicName"` BornAt *time.Time `json:"bornAt"` Phone *string `json:"phone"` PassportSerie string `json:"passportSerie"` PassportId string `json:"passportId"` PassportOne string `json:"passportOne"` PassportTwo string `json:"passportTwo"` PassportThree string `json:"passportThree"` PassportFour string `json:"passportFour"` Status *string `json:"status"` Notes *string `json:"notes"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` } type CreateCardPinOrderDTO struct { UniqueId *string `json:"uniqueId"` UserId *int64 `json:"userId"` CardTypeId int64 `json:"cardTypeId" binding:"required"` CardNumber *string `json:"cardNumber"` Region string `json:"region" binding:"required"` BranchId int64 `json:"branchId" binding:"required"` CustomerName string `json:"customerName" binding:"required"` CustomerSurname string `json:"customerSurname" binding:"required"` CustomerPatronicName *string `json:"customerPatronicName"` BornAt *time.Time `json:"bornAt"` Phone *string `json:"phone"` PassportSerie string `json:"passportSerie" binding:"required"` PassportId string `json:"passportId" binding:"required"` PassportOne string `json:"passportOne" binding:"required"` PassportTwo string `json:"passportTwo" binding:"required"` PassportThree string `json:"passportThree" binding:"required"` PassportFour string `json:"passportFour" binding:"required"` Status *string `json:"status"` Notes *string `json:"notes"` } type UpdateCardPinOrderDTO struct { UniqueId *string `json:"uniqueId"` UserId *int64 `json:"userId"` CardTypeId int64 `json:"cardTypeId" binding:"required"` CardNumber *string `json:"cardNumber"` Region string `json:"region" binding:"required"` BranchId int64 `json:"branchId" binding:"required"` CustomerName string `json:"customerName" binding:"required"` CustomerSurname string `json:"customerSurname" binding:"required"` CustomerPatronicName *string `json:"customerPatronicName"` BornAt *time.Time `json:"bornAt"` Phone *string `json:"phone"` PassportSerie string `json:"passportSerie" binding:"required"` PassportId string `json:"passportId" binding:"required"` PassportOne string `json:"passportOne" binding:"required"` PassportTwo string `json:"passportTwo" binding:"required"` PassportThree string `json:"passportThree" binding:"required"` PassportFour string `json:"passportFour" binding:"required"` Status *string `json:"status"` Notes *string `json:"notes"` } type ListFilter struct { Status *string BranchId *int64 UserId *int64 CardTypeId *int64 Region string Page int Limit int } type ListCardPinOrderDTO struct { Count int64 `json:"count"` CardPinOrders []CardPinOrderDTO `json:"cardPinOrders"` }