65 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Go
		
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Go
		
	
	
| package app
 | |
| 
 | |
| import (
 | |
| 	"database/sql"
 | |
| 
 | |
| 	"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
 | |
| )
 | |
| 
 | |
| // PlaceChannelWrapper wraps the object with the security principal
 | |
| type PlaceChannelWrapper struct {
 | |
| 	Obj       geo_models.Place
 | |
| 	Principal User
 | |
| }
 | |
| 
 | |
| // Place is a first class object type
 | |
| type Place struct {
 | |
| 	ID                  string
 | |
| 	AccountID           string
 | |
| 	AccountValidation   string
 | |
| 	Amount              float64
 | |
| 	AreaDescription     string
 | |
| 	ContactID           string
 | |
| 	CountryID           string
 | |
| 	CountyID            string
 | |
| 	CreatedByID         string
 | |
| 	CreatedDate         sql.NullTime
 | |
| 	EnrollmentStatus    string
 | |
| 	FIPS                string
 | |
| 	FIPSclass           string
 | |
| 	FunctionalStatus    string
 | |
| 	Geocode             string
 | |
| 	GNIS                int64
 | |
| 	HasDistrictTaxes    bool
 | |
| 	Interest            float64
 | |
| 	Landarea            int64
 | |
| 	LastModifiedByID    string
 | |
| 	LastModifiedDate    sql.NullTime
 | |
| 	Longitude           float64
 | |
| 	Latitude            float64
 | |
| 	LegalName           string
 | |
| 	Name                string
 | |
| 	Penalty             float64
 | |
| 	Ref                 string
 | |
| 	ReportedAdjustments float64
 | |
| 	ReportedDeductions  float64
 | |
| 	ReportedNetRevenue  float64
 | |
| 	ReportedRate        float64
 | |
| 	ReportedRevenue     float64
 | |
| 	RevenueBase         float64
 | |
| 	RevenueNet          float64
 | |
| 	RevenueNotTaxable   float64
 | |
| 	Revneuebase         float64
 | |
| 	SalesTaxRate        *TaxRate
 | |
| 	StateCode           string
 | |
| 	StateID             string
 | |
| 	Status              string
 | |
| 	Subtotal            float64
 | |
| 	TaxInstances        []*TaxInstance
 | |
| 	TemplateID          string
 | |
| 	TotalAmount         float64
 | |
| 	TotalArea           int64
 | |
| 	UnitBase            float64
 | |
| 	WaterArea           int64
 | |
| }
 |