Versions in this module Expand all Collapse all v0 v0.0.2 Apr 7, 2024 v0.0.1 Apr 5, 2024 v0.0.0 Apr 5, 2024 Changes in this version + type Department struct + Code string + DepPath string + Enabled uint8 + Id int32 + IsParent int8 + MngrId int32 + Name string + ParentId int32 + Type int32 + func NewDepartment() *Department + func (entity *Department) AutoMigrate(db *gorm.DB) error + func (entity *Department) GetCode() string + func (entity *Department) GetDepPath() string + func (entity *Department) GetId() int32 + func (entity *Department) GetIsParent() int8 + func (entity *Department) GetMngrId() int32 + func (entity *Department) GetName() string + func (entity *Department) GetParentId() int32 + func (entity *Department) GetType() int32 + func (entity *Department) Ini(iniPk bool) *Department + func (entity *Department) IniNil(iniPk bool) *Department + func (entity *Department) SetCode(Code string) + func (entity *Department) SetDepPath(DepPath string) + func (entity *Department) SetId(Id int32) + func (entity *Department) SetIsParent(IsParent int8) + func (entity *Department) SetMngrId(MngrId int32) + func (entity *Department) SetName(Name string) + func (entity *Department) SetParentId(ParentId int32) + func (entity *Department) SetType(Type int32) + func (entity *Department) String() string + func (entity *Department) TableName() string + func (entity *Department) ToString() string + func (entity *Department) Unmarshal(body string) error + func (entity *Department) UnmarshalBy(body []byte) error + type DepartmentDto struct + Code string + DepPath string + Enabled basemodel.BitField + Id int32 + IsParent int8 + MngrId int32 + Name string + ParentId int32 + Type int32 + type DepartmentParams struct + Code *string + DepPath *string + Enabled *basemodel.BitField + Id *int32 + IsParent *int8 + MngrId *int32 + Name *string + ParentId *int32 + Type *int32 + type Employee struct + Address string + BeginContract time.Time + BeginDate time.Time + Birthday time.Time + Code string + ContractTerm float64 + ConversionTime time.Time + DepartmentId int32 + Email string + EndContract time.Time + EngageForm string + Gender string + Id int32 + IdCard string + JobLevelId int32 + Name string + NationId int32 + NativePlace string + NotWorkDate time.Time + Phone string + PoliticId int32 + PosId int32 + School string + Specialty string + TiptopDegree string + Wedlock string + WorkAge int32 + WorkId string + WorkState string + func NewEmployee() *Employee + func (entity *Employee) AutoMigrate(db *gorm.DB) error + func (entity *Employee) GetAddress() string + func (entity *Employee) GetCode() string + func (entity *Employee) GetContractTerm() float64 + func (entity *Employee) GetDepartmentId() int32 + func (entity *Employee) GetEmail() string + func (entity *Employee) GetEngageForm() string + func (entity *Employee) GetGender() string + func (entity *Employee) GetId() int32 + func (entity *Employee) GetIdCard() string + func (entity *Employee) GetJobLevelId() int32 + func (entity *Employee) GetName() string + func (entity *Employee) GetNationId() int32 + func (entity *Employee) GetNativePlace() string + func (entity *Employee) GetPhone() string + func (entity *Employee) GetPoliticId() int32 + func (entity *Employee) GetPosId() int32 + func (entity *Employee) GetSchool() string + func (entity *Employee) GetSpecialty() string + func (entity *Employee) GetTiptopDegree() string + func (entity *Employee) GetWedlock() string + func (entity *Employee) GetWorkAge() int32 + func (entity *Employee) GetWorkId() string + func (entity *Employee) GetWorkState() string + func (entity *Employee) Ini(iniPk bool) *Employee + func (entity *Employee) IniNil(iniPk bool) *Employee + func (entity *Employee) SetAddress(Address string) + func (entity *Employee) SetCode(Code string) + func (entity *Employee) SetContractTerm(ContractTerm float64) + func (entity *Employee) SetDepartmentId(DepartmentId int32) + func (entity *Employee) SetEmail(Email string) + func (entity *Employee) SetEngageForm(EngageForm string) + func (entity *Employee) SetGender(Gender string) + func (entity *Employee) SetId(Id int32) + func (entity *Employee) SetIdCard(IdCard string) + func (entity *Employee) SetJobLevelId(JobLevelId int32) + func (entity *Employee) SetName(Name string) + func (entity *Employee) SetNationId(NationId int32) + func (entity *Employee) SetNativePlace(NativePlace string) + func (entity *Employee) SetPhone(Phone string) + func (entity *Employee) SetPoliticId(PoliticId int32) + func (entity *Employee) SetPosId(PosId int32) + func (entity *Employee) SetSchool(School string) + func (entity *Employee) SetSpecialty(Specialty string) + func (entity *Employee) SetTiptopDegree(TiptopDegree string) + func (entity *Employee) SetWedlock(Wedlock string) + func (entity *Employee) SetWorkAge(WorkAge int32) + func (entity *Employee) SetWorkId(WorkId string) + func (entity *Employee) SetWorkState(WorkState string) + func (entity *Employee) String() string + func (entity *Employee) TableName() string + func (entity *Employee) ToString() string + func (entity *Employee) Unmarshal(body string) error + func (entity *Employee) UnmarshalBy(body []byte) error + type EmployeeDto struct + Address string + Birthday basemodel.LocalDate + Code string + ContractTerm float64 + DepartmentId int32 + Email string + EngageForm string + Gender string + Id int32 + IdCard string + JobLevelId int32 + Name string + NationId int32 + NativePlace string + Phone string + PoliticId int32 + PosId int32 + School string + Specialty string + TiptopDegree string + Wedlock string + WorkAge int32 + WorkId string + WorkState string + type EmployeeParams struct + Address *string + Code *string + ContractTerm *float64 + DepartmentId *int32 + Email *string + EngageForm *string + Gender *string + Id *int32 + IdCard *string + JobLevelId *int32 + Name *string + NationId *int32 + NativePlace *string + Phone *string + PoliticId *int32 + PosId *int32 + School *string + Specialty *string + TiptopDegree *string + Wedlock *string + WorkAge *int32 + WorkId *string + WorkState *string