Versions in this module Expand all Collapse all v0 v0.0.2 Sep 27, 2020 Changes in this version + type BillDetailMapper struct + BillId int + BillingAmount decimal.Decimal + Id int + OrderNum int + RightToUseId int + func (b *BillDetailMapper) SetDataToEntity(entity interface{}) error + type BillMapper struct + BillingDate time.Time + Id int + PaymentConfirmedAt sql.NullTime + UserId int + type ContractMapper struct + BillingStartDate time.Time + ContractDate time.Time + Id int + ProductId int + UserId int + func (c *ContractMapper) SetDataToEntity(entity interface{}) error + type ContractView struct + BillingStartDate time.Time + ContractDate time.Time + CreatedAt time.Time + Id int + ProductCreatedAt time.Time + ProductId int + ProductName string + ProductPrice decimal.Decimal + ProductUpdatedAt time.Time + UpdatedAt time.Time + type CreatedAtUpdatedAtMapper struct + CreatedAt time.Time + UpdatedAt time.Time + func (c *CreatedAtUpdatedAtMapper) PreInsert(s gorp.SqlExecutor) error + func (c *CreatedAtUpdatedAtMapper) PreUpdate(s gorp.SqlExecutor) error + type EntitySetter interface + SetDataToEntity func(entity interface{}) error + type ProductMapper struct + Id int + Name string + type ProductPriceMonthlyMapper struct + Price decimal.Decimal + ProductId int + type RightToUseMapper struct + ContractId int + Id int + ValidFrom time.Time + ValidTo time.Time + func NewRightToUseMapperFromEntity(entity *entities.RightToUseEntity) RightToUseMapper + type UserCorporationMapper struct + ContactParsonName string + CorporationName string + PresidentName string + UserId int + func NewUserCorporationMapperFromUserCorporationEntity(entity *entities.UserCorporationEntity) *UserCorporationMapper + type UserCorporationView struct + ContactPersonName string + CorporationName string + PresidentName string + func (u *UserCorporationView) SetDataToEntity(entity interface{}) error + type UserIndividualMapper struct + Name string + UserId int + func NewUserIndividualMapperFromUserIndividualEntity(entity *entities.UserIndividualEntity) *UserIndividualMapper + type UserIndividualView struct + Name string + func (u *UserIndividualView) SetDataToEntity(entity interface{}) error + type UserMapper struct + Id int + func NewUserMapperFromUserCorporationEntity(userCorporation *entities.UserCorporationEntity) *UserMapper + func NewUserMapperFromUserIndividualEntity(userIndividual *entities.UserIndividualEntity) *UserMapper + func (u *UserMapper) SetDataToEntity(entity interface{}) error + type UserView struct + UserCorporationContractPersonName sql.NullString + UserCorporationCorporationName sql.NullString + UserCorporationCreatedAt sql.NullTime + UserCorporationPresidentName sql.NullString + UserCorporationUpdatedAt sql.NullTime + UserId int + UserIndividualCreatedAt sql.NullTime + UserIndividualName sql.NullString + UserIndividualUpdatedAt sql.NullTime + UserType string