forked from free-lancers/electricity_bill_calc_service
enhance(user):基本完成用户系列的Repository功能迁移。
This commit is contained in:
@@ -55,6 +55,15 @@ func (m ManagementAccountCreationForm) IntoUserDetail() *UserDetail {
|
||||
}
|
||||
}
|
||||
|
||||
type UserModificationForm struct {
|
||||
Name string
|
||||
Region *string
|
||||
Address *string
|
||||
Contact *string
|
||||
Phone *string
|
||||
UnitServiceFee *decimal.Decimal
|
||||
}
|
||||
|
||||
type User struct {
|
||||
Id string
|
||||
Username string
|
||||
|
Reference in New Issue
Block a user