forked from free-lancers/electricity_bill_calc_service
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			767 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			767 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package vo
 | 
						|
 | 
						|
import (
 | 
						|
	"electricity_bill_calc/types"
 | 
						|
 | 
						|
	"github.com/shopspring/decimal"
 | 
						|
)
 | 
						|
 | 
						|
type TopUpCreationForm struct {
 | 
						|
	Tenement string          `json:"tenement"`
 | 
						|
	Meter    string          `json:"meter"`
 | 
						|
	Amount   decimal.Decimal `json:"amount"`
 | 
						|
}
 | 
						|
 | 
						|
type TopUpDetailQueryResponse struct {
 | 
						|
	Id           string          `json:"id" copier:"TopUpCode"`
 | 
						|
	Tenement     string          `json:"tenement"`
 | 
						|
	TenementName string          `json:"tenementName"`
 | 
						|
	Meter        string          `json:"meter"`
 | 
						|
	MeterAddress string          `json:"meterAddress"`
 | 
						|
	ToppedUpAt   types.DateTime  `json:"toppedUpAt"`
 | 
						|
	Amount       decimal.Decimal `json:"amount"`
 | 
						|
	PaymentType  int16           `json:"paymentType"`
 | 
						|
	SyncStatus   int16           `json:"syncStatus" copier:"SyncStatus"`
 | 
						|
}
 |