Documentation ¶
Index ¶
- type AttDay
- func (entity *AttDay) AutoMigrate(db *gorm.DB) error
- func (entity *AttDay) GetCreatedAt() model.LocalDateInt
- func (entity *AttDay) GetCreatedBy() int32
- func (entity *AttDay) GetDay() model.LocalDateInt
- func (entity *AttDay) GetId() int32
- func (entity *AttDay) GetName() string
- func (entity *AttDay) GetType() int32
- func (entity *AttDay) GetWeek() string
- func (entity *AttDay) Ini(iniPk bool) *AttDay
- func (entity *AttDay) IniNil(iniPk bool) *AttDay
- func (entity *AttDay) SetCreatedAt(CreatedAt model.LocalDateInt)
- func (entity *AttDay) SetCreatedBy(CreatedBy int32)
- func (entity *AttDay) SetDay(Day model.LocalDateInt)
- func (entity *AttDay) SetId(Id int32)
- func (entity *AttDay) SetName(Name string)
- func (entity *AttDay) SetType(Type int32)
- func (entity *AttDay) SetWeek(Week string)
- func (entity *AttDay) String() string
- func (*AttDay) TableName() string
- func (entity *AttDay) ToString() string
- func (entity *AttDay) Unmarshal(body string)
- type CmsColumn
- func (entity *CmsColumn) AutoMigrate(db *gorm.DB) error
- func (entity *CmsColumn) GetActive() bool
- func (entity *CmsColumn) GetAdEditorId() int64
- func (entity *CmsColumn) GetCode() string
- func (entity *CmsColumn) GetColumnId() int64
- func (entity *CmsColumn) GetCreatedAt() model.LocalTimeInt
- func (entity *CmsColumn) GetCreatedBy() int64
- func (entity *CmsColumn) GetDeletedAt() model.LocalTimeInt
- func (entity *CmsColumn) GetDeletedBy() int64
- func (entity *CmsColumn) GetDescription() string
- func (entity *CmsColumn) GetDomain() string
- func (entity *CmsColumn) GetEditorId() int64
- func (entity *CmsColumn) GetIsVirtual() bool
- func (entity *CmsColumn) GetLayoutId() int64
- func (entity *CmsColumn) GetListOrder() int64
- func (entity *CmsColumn) GetName() string
- func (entity *CmsColumn) GetParentId() int64
- func (entity *CmsColumn) GetPath() string
- func (entity *CmsColumn) GetPublisherSpuId() int64
- func (entity *CmsColumn) GetResourceName() string
- func (entity *CmsColumn) GetSeoTitle() string
- func (entity *CmsColumn) GetShopId() int64
- func (entity *CmsColumn) GetSlug() string
- func (entity *CmsColumn) GetSpuCategShopCategId() int64
- func (entity *CmsColumn) GetUpdatedAt() model.LocalTimeInt
- func (entity *CmsColumn) GetUpdatedBy() int64
- func (entity *CmsColumn) Ini(iniPk bool) *CmsColumn
- func (entity *CmsColumn) IniNil(iniPk bool) *CmsColumn
- func (entity *CmsColumn) SetActive(Active bool)
- func (entity *CmsColumn) SetAdEditorId(AdEditorId int64)
- func (entity *CmsColumn) SetCode(Code string)
- func (entity *CmsColumn) SetColumnId(ColumnId int64)
- func (entity *CmsColumn) SetCreatedAt(CreatedAt model.LocalTimeInt)
- func (entity *CmsColumn) SetCreatedBy(CreatedBy int64)
- func (entity *CmsColumn) SetDeletedAt(DeletedAt model.LocalTimeInt)
- func (entity *CmsColumn) SetDeletedBy(DeletedBy int64)
- func (entity *CmsColumn) SetDescription(Description string)
- func (entity *CmsColumn) SetDomain(Domain string)
- func (entity *CmsColumn) SetEditorId(EditorId int64)
- func (entity *CmsColumn) SetIsVirtual(IsVirtual bool)
- func (entity *CmsColumn) SetLayoutId(LayoutId int64)
- func (entity *CmsColumn) SetListOrder(ListOrder int64)
- func (entity *CmsColumn) SetName(Name string)
- func (entity *CmsColumn) SetParentId(ParentId int64)
- func (entity *CmsColumn) SetPath(Path string)
- func (entity *CmsColumn) SetPublisherSpuId(PublisherSpuId int64)
- func (entity *CmsColumn) SetResourceName(ResourceName string)
- func (entity *CmsColumn) SetSeoTitle(SeoTitle string)
- func (entity *CmsColumn) SetShopId(ShopId int64)
- func (entity *CmsColumn) SetSlug(Slug string)
- func (entity *CmsColumn) SetSpuCategShopCategId(SpuCategShopCategId int64)
- func (entity *CmsColumn) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
- func (entity *CmsColumn) SetUpdatedBy(UpdatedBy int64)
- func (entity *CmsColumn) String() string
- func (entity *CmsColumn) TableName() string
- func (entity *CmsColumn) ToString() string
- func (entity *CmsColumn) Unmarshal(body string) error
- func (entity *CmsColumn) UnmarshalBy(body []byte) error
- type CmsLayout
- func (entity *CmsLayout) AutoMigrate(db *gorm.DB) error
- func (entity *CmsLayout) GetCreatedAt() model.LocalTimeInt
- func (entity *CmsLayout) GetCreatedBy() int64
- func (entity *CmsLayout) GetDeletedAt() model.LocalTimeInt
- func (entity *CmsLayout) GetDeletedBy() int64
- func (entity *CmsLayout) GetLayoutId() int64
- func (entity *CmsLayout) GetLayoutTypeId() int64
- func (entity *CmsLayout) GetMaximumItems() int32
- func (entity *CmsLayout) GetName() string
- func (entity *CmsLayout) GetNumber() int32
- func (entity *CmsLayout) GetParentId() int64
- func (entity *CmsLayout) GetShopId() int64
- func (entity *CmsLayout) GetSidebarType() int32
- func (entity *CmsLayout) GetSketch() string
- func (entity *CmsLayout) GetUpdatedAt() model.LocalTimeInt
- func (entity *CmsLayout) GetUpdatedBy() int64
- func (entity *CmsLayout) Ini(iniPk bool) *CmsLayout
- func (entity *CmsLayout) IniNil(iniPk bool) *CmsLayout
- func (entity *CmsLayout) SetCreatedAt(CreatedAt model.LocalTimeInt)
- func (entity *CmsLayout) SetCreatedBy(CreatedBy int64)
- func (entity *CmsLayout) SetDeletedAt(DeletedAt model.LocalTimeInt)
- func (entity *CmsLayout) SetDeletedBy(DeletedBy int64)
- func (entity *CmsLayout) SetLayoutId(LayoutId int64)
- func (entity *CmsLayout) SetLayoutTypeId(LayoutTypeId int64)
- func (entity *CmsLayout) SetMaximumItems(MaximumItems int32)
- func (entity *CmsLayout) SetName(Name string)
- func (entity *CmsLayout) SetNumber(Number int32)
- func (entity *CmsLayout) SetParentId(ParentId int64)
- func (entity *CmsLayout) SetShopId(ShopId int64)
- func (entity *CmsLayout) SetSidebarType(SidebarType int32)
- func (entity *CmsLayout) SetSketch(Sketch string)
- func (entity *CmsLayout) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
- func (entity *CmsLayout) SetUpdatedBy(UpdatedBy int64)
- func (entity *CmsLayout) String() string
- func (entity *CmsLayout) TableName() string
- func (entity *CmsLayout) ToString() string
- func (entity *CmsLayout) Unmarshal(body string) error
- type CmsLayoutItem
- func (entity *CmsLayoutItem) AutoMigrate(db *gorm.DB) error
- func (entity *CmsLayoutItem) GetCode() int64
- func (entity *CmsLayoutItem) GetCreatedAt() model.LocalDateInt
- func (entity *CmsLayoutItem) GetCreatedBy() int64
- func (entity *CmsLayoutItem) GetDeletedAt() model.LocalDateInt
- func (entity *CmsLayoutItem) GetDeletedBy() int64
- func (entity *CmsLayoutItem) GetIsSlide() bool
- func (entity *CmsLayoutItem) GetLayoutId() int64
- func (entity *CmsLayoutItem) GetLayoutItemId() int64
- func (entity *CmsLayoutItem) GetListOrder() int64
- func (entity *CmsLayoutItem) GetName() string
- func (entity *CmsLayoutItem) GetNumber() int64
- func (entity *CmsLayoutItem) GetShopId() int64
- func (entity *CmsLayoutItem) GetSketch() string
- func (entity *CmsLayoutItem) GetUpdatedAt() model.LocalDateInt
- func (entity *CmsLayoutItem) GetUpdatedBy() int64
- func (entity *CmsLayoutItem) Ini(iniPk bool) *CmsLayoutItem
- func (entity *CmsLayoutItem) IniNil(iniPk bool) *CmsLayoutItem
- func (entity *CmsLayoutItem) SetCode(Code int64)
- func (entity *CmsLayoutItem) SetCreatedAt(CreatedAt model.LocalDateInt)
- func (entity *CmsLayoutItem) SetCreatedBy(CreatedBy int64)
- func (entity *CmsLayoutItem) SetDeletedAt(DeletedAt model.LocalDateInt)
- func (entity *CmsLayoutItem) SetDeletedBy(DeletedBy int64)
- func (entity *CmsLayoutItem) SetIsSlide(IsSlide bool)
- func (entity *CmsLayoutItem) SetLayoutId(LayoutId int64)
- func (entity *CmsLayoutItem) SetLayoutItemId(LayoutItemId int64)
- func (entity *CmsLayoutItem) SetListOrder(ListOrder int64)
- func (entity *CmsLayoutItem) SetName(Name string)
- func (entity *CmsLayoutItem) SetNumber(Number int64)
- func (entity *CmsLayoutItem) SetShopId(ShopId int64)
- func (entity *CmsLayoutItem) SetSketch(Sketch string)
- func (entity *CmsLayoutItem) SetUpdatedAt(UpdatedAt model.LocalDateInt)
- func (entity *CmsLayoutItem) SetUpdatedBy(UpdatedBy int64)
- func (entity *CmsLayoutItem) String() string
- func (*CmsLayoutItem) TableName() string
- func (entity *CmsLayoutItem) ToString() string
- func (entity *CmsLayoutItem) Unmarshal(body string)
- type CmsLayoutType
- func (entity *CmsLayoutType) AutoMigrate(db *gorm.DB) error
- func (entity *CmsLayoutType) GetActive() model.BitField
- func (entity *CmsLayoutType) GetCreatedAt() model.LocalDateInt
- func (entity *CmsLayoutType) GetCreatedBy() int64
- func (entity *CmsLayoutType) GetDfdd() model.LocalTimeInt
- func (entity *CmsLayoutType) GetIsDefault() int8
- func (entity *CmsLayoutType) GetLayoutTypeId() int32
- func (entity *CmsLayoutType) GetName() string
- func (entity *CmsLayoutType) GetShopId() int64
- func (entity *CmsLayoutType) Ini(iniPk bool) *CmsLayoutType
- func (entity *CmsLayoutType) IniNil(iniPk bool) *CmsLayoutType
- func (entity *CmsLayoutType) SetActive(Active model.BitField)
- func (entity *CmsLayoutType) SetCreatedAt(CreatedAt model.LocalDateInt)
- func (entity *CmsLayoutType) SetCreatedBy(CreatedBy int64)
- func (entity *CmsLayoutType) SetDfdd(Dfdd model.LocalTimeInt)
- func (entity *CmsLayoutType) SetIsDefault(IsDefault int8)
- func (entity *CmsLayoutType) SetLayoutTypeId(LayoutTypeId int32)
- func (entity *CmsLayoutType) SetName(Name string)
- func (entity *CmsLayoutType) SetShopId(ShopId int64)
- func (entity *CmsLayoutType) String() string
- func (entity *CmsLayoutType) TableName() string
- func (entity *CmsLayoutType) ToString() string
- func (entity *CmsLayoutType) Unmarshal(body string) error
- type CmsVisit
- func (entity *CmsVisit) AutoMigrate(db *gorm.DB) error
- func (entity *CmsVisit) GetColumnId() int64
- func (entity *CmsVisit) GetCreatedAt() model.LocalTimeInt
- func (entity *CmsVisit) GetCreatedBy() int64
- func (entity *CmsVisit) GetDeletedAt() model.LocalTimeInt
- func (entity *CmsVisit) GetDeletedBy() int64
- func (entity *CmsVisit) GetIpAddress() string
- func (entity *CmsVisit) GetIsGuest() bool
- func (entity *CmsVisit) GetProcessing() string
- func (entity *CmsVisit) GetReadingCount() int32
- func (entity *CmsVisit) GetScanType() string
- func (entity *CmsVisit) GetShopId() int64
- func (entity *CmsVisit) GetUpdatedAt() model.LocalTimeInt
- func (entity *CmsVisit) GetUpdatedBy() int64
- func (entity *CmsVisit) GetVisitId() int64
- func (entity *CmsVisit) GetVisitorId() int64
- func (entity *CmsVisit) Ini(iniPk bool) *CmsVisit
- func (entity *CmsVisit) IniNil(iniPk bool) *CmsVisit
- func (entity *CmsVisit) SetColumnId(ColumnId int64)
- func (entity *CmsVisit) SetCreatedAt(CreatedAt model.LocalTimeInt)
- func (entity *CmsVisit) SetCreatedBy(CreatedBy int64)
- func (entity *CmsVisit) SetDeletedAt(DeletedAt model.LocalTimeInt)
- func (entity *CmsVisit) SetDeletedBy(DeletedBy int64)
- func (entity *CmsVisit) SetIpAddress(IpAddress string)
- func (entity *CmsVisit) SetIsGuest(IsGuest bool)
- func (entity *CmsVisit) SetProcessing(Processing string)
- func (entity *CmsVisit) SetReadingCount(ReadingCount int32)
- func (entity *CmsVisit) SetScanType(ScanType string)
- func (entity *CmsVisit) SetShopId(ShopId int64)
- func (entity *CmsVisit) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
- func (entity *CmsVisit) SetUpdatedBy(UpdatedBy int64)
- func (entity *CmsVisit) SetVisitId(VisitId int64)
- func (entity *CmsVisit) SetVisitorId(VisitorId int64)
- func (entity *CmsVisit) String() string
- func (entity *CmsVisit) TableName() string
- func (entity *CmsVisit) ToString() string
- func (entity *CmsVisit) Unmarshal(body string) error
- type Department
- func (entity *Department) AutoMigrate(db *gorm.DB) error
- func (entity *Department) GetCode() string
- func (entity *Department) GetDepPath() string
- func (entity *Department) GetEnabled() model.BitField
- 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) SetEnabled(Enabled model.BitField)
- 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
- type Employee
- func (entity *Employee) AutoMigrate(db *gorm.DB) error
- func (entity *Employee) GetAddress() string
- func (entity *Employee) GetBeginContract() model.LocalDateInt
- func (entity *Employee) GetBeginDate() model.LocalDateInt
- func (entity *Employee) GetBirthday() model.LocalDateInt
- func (entity *Employee) GetCode() string
- func (entity *Employee) GetContractTerm() float64
- func (entity *Employee) GetConversionTime() model.LocalDateInt
- func (entity *Employee) GetDepartmentId() int32
- func (entity *Employee) GetEmail() string
- func (entity *Employee) GetEndContract() model.LocalDateInt
- 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) GetNotWorkDate() model.LocalDateInt
- 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) SetBeginContract(BeginContract model.LocalDateInt)
- func (entity *Employee) SetBeginDate(BeginDate model.LocalDateInt)
- func (entity *Employee) SetBirthday(Birthday model.LocalDateInt)
- func (entity *Employee) SetCode(Code string)
- func (entity *Employee) SetContractTerm(ContractTerm float64)
- func (entity *Employee) SetConversionTime(ConversionTime model.LocalDateInt)
- func (entity *Employee) SetDepartmentId(DepartmentId int32)
- func (entity *Employee) SetEmail(Email string)
- func (entity *Employee) SetEndContract(EndContract model.LocalDateInt)
- 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) SetNotWorkDate(NotWorkDate model.LocalDateInt)
- 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
- type EmployeeBase
- type HubLevels
- func (entity *HubLevels) AutoMigrate(db *gorm.DB) error
- func (entity *HubLevels) GetActive() bool
- func (entity *HubLevels) GetCode() string
- func (entity *HubLevels) GetComboRate() float64
- func (entity *HubLevels) GetContractTypeId() int64
- func (entity *HubLevels) GetCreatedAt() model.LocalTimeInt
- func (entity *HubLevels) GetCreatedById() int64
- func (entity *HubLevels) GetCreatedUserId() int64
- func (entity *HubLevels) GetDeletedAt() model.LocalTimeInt
- func (entity *HubLevels) GetDeletedBy() int64
- func (entity *HubLevels) GetId() int64
- func (entity *HubLevels) GetListOrder() int64
- func (entity *HubLevels) GetMapperType() string
- func (entity *HubLevels) GetMark() string
- func (entity *HubLevels) GetName() string
- func (entity *HubLevels) GetPublishedAt() model.LocalTimeInt
- func (entity *HubLevels) GetPublishedBy() int64
- func (entity *HubLevels) GetSequence() int64
- func (entity *HubLevels) GetServiceMapperId() int64
- func (entity *HubLevels) GetShopId() int64
- func (entity *HubLevels) GetSingleRate() float64
- func (entity *HubLevels) GetState() int64
- func (entity *HubLevels) GetUpdatedAt() model.LocalTimeInt
- func (entity *HubLevels) GetUpdatedById() int64
- func (entity *HubLevels) GetUpdatedUserId() int64
- func (entity *HubLevels) Ini(iniPk bool) *HubLevels
- func (entity *HubLevels) IniNil(iniPk bool) *HubLevels
- func (entity *HubLevels) SetActive(Active bool)
- func (entity *HubLevels) SetCode(Code string)
- func (entity *HubLevels) SetComboRate(ComboRate float64)
- func (entity *HubLevels) SetContractTypeId(ContractTypeId int64)
- func (entity *HubLevels) SetCreatedAt(CreatedAt model.LocalTimeInt)
- func (entity *HubLevels) SetCreatedById(CreatedById int64)
- func (entity *HubLevels) SetCreatedUserId(CreatedUserId int64)
- func (entity *HubLevels) SetDeletedAt(DeletedAt model.LocalTimeInt)
- func (entity *HubLevels) SetDeletedBy(DeletedBy int64)
- func (entity *HubLevels) SetId(Id int64)
- func (entity *HubLevels) SetListOrder(ListOrder int64)
- func (entity *HubLevels) SetMapperType(MapperType string)
- func (entity *HubLevels) SetMark(Mark string)
- func (entity *HubLevels) SetName(Name string)
- func (entity *HubLevels) SetPublishedAt(PublishedAt model.LocalTimeInt)
- func (entity *HubLevels) SetPublishedBy(PublishedBy int64)
- func (entity *HubLevels) SetSequence(Sequence int64)
- func (entity *HubLevels) SetServiceMapperId(ServiceMapperId int64)
- func (entity *HubLevels) SetShopId(ShopId int64)
- func (entity *HubLevels) SetSingleRate(SingleRate float64)
- func (entity *HubLevels) SetState(State int64)
- func (entity *HubLevels) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
- func (entity *HubLevels) SetUpdatedById(UpdatedById int64)
- func (entity *HubLevels) SetUpdatedUserId(UpdatedUserId int64)
- func (entity *HubLevels) String() string
- func (entity *HubLevels) TableName() string
- func (entity *HubLevels) ToString() string
- func (entity *HubLevels) Unmarshal(body string) error
- func (entity *HubLevels) UnmarshalBy(body []byte) error
- type HubQuotas
- func (entity *HubQuotas) AutoMigrate(db *gorm.DB) error
- func (entity *HubQuotas) GetActive() bool
- func (entity *HubQuotas) GetBizAvabLineId() int64
- func (entity *HubQuotas) GetCode() string
- func (entity *HubQuotas) GetCreatedAt() model.LocalTimeInt
- func (entity *HubQuotas) GetCreatedById() int64
- func (entity *HubQuotas) GetCreatedUserId() int64
- func (entity *HubQuotas) GetCurrencyId() int64
- func (entity *HubQuotas) GetDeletedAt() model.LocalTimeInt
- func (entity *HubQuotas) GetDeletedBy() int64
- func (entity *HubQuotas) GetDescription() string
- func (entity *HubQuotas) GetDomainId() int64
- func (entity *HubQuotas) GetEntityId() int64
- func (entity *HubQuotas) GetFreeCharge() bool
- func (entity *HubQuotas) GetGrantMark() bool
- func (entity *HubQuotas) GetId() int64
- func (entity *HubQuotas) GetListOrder() int64
- func (entity *HubQuotas) GetPartNumber() string
- func (entity *HubQuotas) GetPrice() float64
- func (entity *HubQuotas) GetPublishedAt() model.LocalTimeInt
- func (entity *HubQuotas) GetQuotaItemId() int64
- func (entity *HubQuotas) GetQuotaQty() int64
- func (entity *HubQuotas) GetScheduleUom() int64
- func (entity *HubQuotas) GetShopId() int64
- func (entity *HubQuotas) GetShopSkuId() int64
- func (entity *HubQuotas) GetSkuId() int64
- func (entity *HubQuotas) GetSpuId() int64
- func (entity *HubQuotas) GetState() int64
- func (entity *HubQuotas) GetUnlimited() bool
- func (entity *HubQuotas) GetUpdatedAt() model.LocalTimeInt
- func (entity *HubQuotas) GetUpdatedById() int64
- func (entity *HubQuotas) GetUpdatedUserId() int64
- func (entity *HubQuotas) Ini(iniPk bool) *HubQuotas
- func (entity *HubQuotas) IniNil(iniPk bool) *HubQuotas
- func (entity *HubQuotas) SetActive(Active bool)
- func (entity *HubQuotas) SetBizAvabLineId(BizAvabLineId int64)
- func (entity *HubQuotas) SetCode(Code string)
- func (entity *HubQuotas) SetCreatedAt(CreatedAt model.LocalTimeInt)
- func (entity *HubQuotas) SetCreatedById(CreatedById int64)
- func (entity *HubQuotas) SetCreatedUserId(CreatedUserId int64)
- func (entity *HubQuotas) SetCurrencyId(CurrencyId int64)
- func (entity *HubQuotas) SetDeletedAt(DeletedAt model.LocalTimeInt)
- func (entity *HubQuotas) SetDeletedBy(DeletedBy int64)
- func (entity *HubQuotas) SetDescription(Description string)
- func (entity *HubQuotas) SetDomainId(DomainId int64)
- func (entity *HubQuotas) SetEntityId(EntityId int64)
- func (entity *HubQuotas) SetFreeCharge(FreeCharge bool)
- func (entity *HubQuotas) SetGrantMark(GrantMark bool)
- func (entity *HubQuotas) SetId(Id int64)
- func (entity *HubQuotas) SetListOrder(ListOrder int64)
- func (entity *HubQuotas) SetPartNumber(PartNumber string)
- func (entity *HubQuotas) SetPrice(Price float64)
- func (entity *HubQuotas) SetPublishedAt(PublishedAt model.LocalTimeInt)
- func (entity *HubQuotas) SetQuotaItemId(QuotaItemId int64)
- func (entity *HubQuotas) SetQuotaQty(QuotaQty int64)
- func (entity *HubQuotas) SetScheduleUom(ScheduleUom int64)
- func (entity *HubQuotas) SetShopId(ShopId int64)
- func (entity *HubQuotas) SetShopSkuId(ShopSkuId int64)
- func (entity *HubQuotas) SetSkuId(SkuId int64)
- func (entity *HubQuotas) SetSpuId(SpuId int64)
- func (entity *HubQuotas) SetState(State int64)
- func (entity *HubQuotas) SetUnlimited(Unlimited bool)
- func (entity *HubQuotas) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
- func (entity *HubQuotas) SetUpdatedById(UpdatedById int64)
- func (entity *HubQuotas) SetUpdatedUserId(UpdatedUserId int64)
- func (entity *HubQuotas) String() string
- func (entity *HubQuotas) TableName() string
- func (entity *HubQuotas) ToString() string
- func (entity *HubQuotas) Unmarshal(body string) error
- func (entity *HubQuotas) UnmarshalBy(body []byte) error
- type HubQuotasVo
- type Joblevel
- type Nation
- type NationBase
- type NatsTopic
- func (entity *NatsTopic) AutoMigrate(db *gorm.DB) error
- func (entity *NatsTopic) GetId() int64
- func (entity *NatsTopic) GetTopic() string
- func (entity *NatsTopic) GetVersion() string
- func (entity *NatsTopic) Ini(iniPk bool) *NatsTopic
- func (entity *NatsTopic) IniNil(iniPk bool) *NatsTopic
- func (entity *NatsTopic) SetId(Id int64)
- func (entity *NatsTopic) SetTopic(Topic string)
- func (entity *NatsTopic) SetVersion(Version string)
- func (entity *NatsTopic) String() string
- func (entity *NatsTopic) TableName() string
- func (entity *NatsTopic) ToString() string
- func (entity *NatsTopic) Unmarshal(body string) error
- func (entity *NatsTopic) UnmarshalBy(body []byte) error
- type Politicsstatus
- type PoliticsstatusBase
- type Position
- type PositionBase
- type TableName1
- func (entity *TableName1) AutoMigrate(db *gorm.DB) error
- func (entity *TableName1) GetAdate() model.LocalDateInt
- func (entity *TableName1) GetAdatetime() model.LocalTimeUTCInt
- func (entity *TableName1) GetAtimestamp() model.LocalTimeInt
- func (entity *TableName1) GetBitField() bool
- func (entity *TableName1) GetId() int64
- func (entity *TableName1) GetName() string
- func (entity *TableName1) GetRowid() int64
- func (entity *TableName1) GetVc() float64
- func (entity *TableName1) Ini(iniPk bool) *TableName1
- func (entity *TableName1) IniNil(iniPk bool) *TableName1
- func (entity *TableName1) SetAdate(Adate model.LocalDateInt)
- func (entity *TableName1) SetAdatetime(Adatetime model.LocalTimeUTCInt)
- func (entity *TableName1) SetAtimestamp(Atimestamp model.LocalTimeInt)
- func (entity *TableName1) SetBitField(BitField bool)
- func (entity *TableName1) SetId(Id int64)
- func (entity *TableName1) SetName(Name string)
- func (entity *TableName1) SetRowid(Rowid int64)
- func (entity *TableName1) SetVc(Vc float64)
- func (entity *TableName1) String() string
- func (entity *TableName1) TableName() string
- func (entity *TableName1) ToString() string
- func (entity *TableName1) Unmarshal(body string) error
- func (entity *TableName1) UnmarshalBy(body []byte) error
- type TableName2
- func (entity *TableName2) AutoMigrate(db *gorm.DB) error
- func (entity *TableName2) GetAdate() model.LocalDateInt
- func (entity *TableName2) GetAdatetime() model.LocalTimeInt
- func (entity *TableName2) GetAtimestamp() model.LocalTimeInt
- func (entity *TableName2) GetBitField() bool
- func (entity *TableName2) GetColumn13() string
- func (entity *TableName2) GetDatefield() model.LocalDateInt
- func (entity *TableName2) GetDeletedAt() model.LocalTimeInt
- func (entity *TableName2) GetId() int64
- func (entity *TableName2) GetInt4field() int64
- func (entity *TableName2) GetName() string
- func (entity *TableName2) GetRowid() int64
- func (entity *TableName2) GetTTime() string
- func (entity *TableName2) GetVc() float64
- func (entity *TableName2) Ini(iniPk bool) *TableName2
- func (entity *TableName2) IniNil(iniPk bool) *TableName2
- func (entity *TableName2) SetAdate(Adate model.LocalDateInt)
- func (entity *TableName2) SetAdatetime(Adatetime model.LocalTimeInt)
- func (entity *TableName2) SetAtimestamp(Atimestamp model.LocalTimeInt)
- func (entity *TableName2) SetBitField(BitField bool)
- func (entity *TableName2) SetColumn13(Column13 string)
- func (entity *TableName2) SetDatefield(Datefield model.LocalDateInt)
- func (entity *TableName2) SetDeletedAt(DeletedAt model.LocalTimeInt)
- func (entity *TableName2) SetId(Id int64)
- func (entity *TableName2) SetInt4field(Int4field int64)
- func (entity *TableName2) SetName(Name string)
- func (entity *TableName2) SetRowid(Rowid int64)
- func (entity *TableName2) SetTTime(TTime string)
- func (entity *TableName2) SetVc(Vc float64)
- func (entity *TableName2) String() string
- func (entity *TableName2) TableName() string
- func (entity *TableName2) ToString() string
- func (entity *TableName2) Unmarshal(body string) error
- type Topic
- func (entity *Topic) AutoMigrate(db *gorm.DB) error
- func (entity *Topic) GetId() int64
- func (entity *Topic) GetTopic() string
- func (entity *Topic) GetVersion() string
- func (entity *Topic) Ini(iniPk bool) *Topic
- func (entity *Topic) IniNil(iniPk bool) *Topic
- func (entity *Topic) SetId(Id int64)
- func (entity *Topic) SetTopic(Topic string)
- func (entity *Topic) SetVersion(Version string)
- func (entity *Topic) String() string
- func (entity *Topic) TableName() string
- func (entity *Topic) ToString() string
- func (entity *Topic) Unmarshal(body string) error
- func (entity *Topic) UnmarshalBy(body []byte) error
- type ViewEmployee
- func (entity *ViewEmployee) AutoMigrate(db *gorm.DB) error
- func (entity *ViewEmployee) GetAddress() string
- func (entity *ViewEmployee) GetBeginContract() model.LocalDateInt
- func (entity *ViewEmployee) GetBeginDate() model.LocalDateInt
- func (entity *ViewEmployee) GetBirthday() model.LocalDateInt
- func (entity *ViewEmployee) GetCode() string
- func (entity *ViewEmployee) GetContractTerm() float64
- func (entity *ViewEmployee) GetConversionTime() model.LocalDateInt
- func (entity *ViewEmployee) GetDepartmentId() int32
- func (entity *ViewEmployee) GetDepartmentName() string
- func (entity *ViewEmployee) GetEmail() string
- func (entity *ViewEmployee) GetEndContract() model.LocalDateInt
- func (entity *ViewEmployee) GetEngageForm() string
- func (entity *ViewEmployee) GetGender() string
- func (entity *ViewEmployee) GetId() int32
- func (entity *ViewEmployee) GetIdCard() string
- func (entity *ViewEmployee) GetJobLevelId() int32
- func (entity *ViewEmployee) GetName() string
- func (entity *ViewEmployee) GetNationId() int32
- func (entity *ViewEmployee) GetNativePlace() string
- func (entity *ViewEmployee) GetNotWorkDate() model.LocalDateInt
- func (entity *ViewEmployee) GetPhone() string
- func (entity *ViewEmployee) GetPoliticId() int32
- func (entity *ViewEmployee) GetPosId() int32
- func (entity *ViewEmployee) GetSchool() string
- func (entity *ViewEmployee) GetSpecialty() string
- func (entity *ViewEmployee) GetTiptopDegree() string
- func (entity *ViewEmployee) GetWedlock() string
- func (entity *ViewEmployee) GetWorkAge() int32
- func (entity *ViewEmployee) GetWorkId() string
- func (entity *ViewEmployee) GetWorkState() string
- func (entity *ViewEmployee) Ini(iniPk bool) *ViewEmployee
- func (entity *ViewEmployee) IniNil(iniPk bool) *ViewEmployee
- func (entity *ViewEmployee) SetAddress(Address string)
- func (entity *ViewEmployee) SetBeginContract(BeginContract model.LocalDateInt)
- func (entity *ViewEmployee) SetBeginDate(BeginDate model.LocalDateInt)
- func (entity *ViewEmployee) SetBirthday(Birthday model.LocalDateInt)
- func (entity *ViewEmployee) SetCode(Code string)
- func (entity *ViewEmployee) SetContractTerm(ContractTerm float64)
- func (entity *ViewEmployee) SetConversionTime(ConversionTime model.LocalDateInt)
- func (entity *ViewEmployee) SetDepartmentId(DepartmentId int32)
- func (entity *ViewEmployee) SetDepartmentName(DepartmentName string)
- func (entity *ViewEmployee) SetEmail(Email string)
- func (entity *ViewEmployee) SetEndContract(EndContract model.LocalDateInt)
- func (entity *ViewEmployee) SetEngageForm(EngageForm string)
- func (entity *ViewEmployee) SetGender(Gender string)
- func (entity *ViewEmployee) SetId(Id int32)
- func (entity *ViewEmployee) SetIdCard(IdCard string)
- func (entity *ViewEmployee) SetJobLevelId(JobLevelId int32)
- func (entity *ViewEmployee) SetName(Name string)
- func (entity *ViewEmployee) SetNationId(NationId int32)
- func (entity *ViewEmployee) SetNativePlace(NativePlace string)
- func (entity *ViewEmployee) SetNotWorkDate(NotWorkDate model.LocalDateInt)
- func (entity *ViewEmployee) SetPhone(Phone string)
- func (entity *ViewEmployee) SetPoliticId(PoliticId int32)
- func (entity *ViewEmployee) SetPosId(PosId int32)
- func (entity *ViewEmployee) SetSchool(School string)
- func (entity *ViewEmployee) SetSpecialty(Specialty string)
- func (entity *ViewEmployee) SetTiptopDegree(TiptopDegree string)
- func (entity *ViewEmployee) SetWedlock(Wedlock string)
- func (entity *ViewEmployee) SetWorkAge(WorkAge int32)
- func (entity *ViewEmployee) SetWorkId(WorkId string)
- func (entity *ViewEmployee) SetWorkState(WorkState string)
- func (entity *ViewEmployee) String() string
- func (*ViewEmployee) TableName() string
- func (entity *ViewEmployee) ToString() string
- func (entity *ViewEmployee) Unmarshal(body string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttDay ¶
type AttDay struct { // AttDayBase /* 标识 */ Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY" json:"Id"` /* 日期 */ Day *model.LocalDateInt `gorm:"column:day;type:date" json:"Day"` /* 星期 */ Week *string `gorm:"column:week;type:varchar(64)" json:"Week"` /* 类型 10-节假日 20-工作日 */ Type *int32 `gorm:"column:type;type:int(11)" json:"Type"` /* 节日名称 */ Name *string `gorm:"column:name;type:varchar(64)" json:"Name"` /* 创建日期 */ CreatedAt *model.LocalDateInt `gorm:"column:created_at;type:timestamp" json:"CreatedAt"` /* 创建人 */ CreatedBy *int32 `gorm:"column:created_by;type:int(11)" json:"CreatedBy"` }
指定扩展结结构,单独存文件。生成时不会覆盖:
type AttDayBase struct {}
节假日
func (*AttDay) GetCreatedAt ¶
func (entity *AttDay) GetCreatedAt() model.LocalDateInt
func (*AttDay) GetCreatedBy ¶
func (*AttDay) GetDay ¶
func (entity *AttDay) GetDay() model.LocalDateInt
func (*AttDay) SetCreatedAt ¶
func (entity *AttDay) SetCreatedAt(CreatedAt model.LocalDateInt)
func (*AttDay) SetCreatedBy ¶
func (*AttDay) SetDay ¶
func (entity *AttDay) SetDay(Day model.LocalDateInt)
type CmsColumn ¶
type CmsColumn struct { /* */ ColumnId *int64 `` /* 129-byte string literal not displayed */ /* */ ParentId *int64 `gorm:"column:parent_id;type:INT8;default:0" json:"parent_id,string"` /* */ ShopId *int64 `gorm:"column:shop_id;type:INT8" json:"shop_id,string"` /* */ EditorId *int64 `gorm:"column:editor_id;type:INT8" json:"editor_id,string"` /* */ AdEditorId *int64 `gorm:"column:ad_editor_id;type:INT8" json:"ad_editor_id,string"` /* */ LayoutId *int64 `gorm:"column:layout_id;type:INT8" json:"layout_id,string"` /* */ PublisherSpuId *int64 `gorm:"column:publisher_spu_id;type:INT8" json:"publisher_spu_id,string"` /* */ SpuCategShopCategId *int64 `gorm:"column:spu_categ_shop_categ_id;type:INT8" json:"spu_categ_shop_categ_id,string"` /* */ Name *string `gorm:"column:name;type:STRING" json:"name"` /* */ Code *string `gorm:"column:code;type:STRING" json:"code"` /* */ Description *string `gorm:"column:description;type:STRING" json:"description"` /* */ Slug *string `gorm:"column:slug;type:STRING" json:"slug"` /* */ ListOrder *int64 `gorm:"column:list_order;type:INT8" json:"list_order,string"` /* */ Path *string `gorm:"column:path;type:STRING" json:"path"` /* */ IsVirtual *bool `gorm:"column:is_virtual;type:BOOL" json:"is_virtual"` /* */ Domain *string `gorm:"column:ruledomain;type:STRING" json:"ruledomain"` /* */ ResourceName *string `gorm:"column:resource_name;type:STRING" json:"resource_name"` /* */ Active *bool `gorm:"column:active;type:BOOL" json:"active"` /* */ SeoTitle *string `gorm:"column:seo_title;type:STRING" json:"seo_title"` /* */ CreatedAt *model.LocalTimeInt `gorm:"column:created_at;type:TIMESTAMPTZ" json:"created_at"` /* */ UpdatedAt *model.LocalTimeInt `gorm:"column:updated_at;type:TIMESTAMPTZ" json:"updated_at"` /* */ DeletedAt *model.LocalTimeInt `gorm:"column:deleted_at;type:TIMESTAMPTZ" json:"deleted_at"` /* */ CreatedBy *int64 `gorm:"column:created_by;type:INT8" json:"created_by,string"` /* */ UpdatedBy *int64 `gorm:"column:updated_by;type:INT8" json:"updated_by,string"` /* */ DeletedBy *int64 `gorm:"column:deleted_by;type:INT8" json:"deleted_by,string"` }
func (*CmsColumn) GetAdEditorId ¶
func (*CmsColumn) GetColumnId ¶
func (*CmsColumn) GetCreatedAt ¶
func (entity *CmsColumn) GetCreatedAt() model.LocalTimeInt
func (*CmsColumn) GetCreatedBy ¶
func (*CmsColumn) GetDeletedAt ¶
func (entity *CmsColumn) GetDeletedAt() model.LocalTimeInt
func (*CmsColumn) GetDeletedBy ¶
func (*CmsColumn) GetDescription ¶
func (*CmsColumn) GetEditorId ¶
func (*CmsColumn) GetIsVirtual ¶
func (*CmsColumn) GetLayoutId ¶
func (*CmsColumn) GetListOrder ¶
func (*CmsColumn) GetParentId ¶
func (*CmsColumn) GetPublisherSpuId ¶
func (*CmsColumn) GetResourceName ¶
func (*CmsColumn) GetSeoTitle ¶
func (*CmsColumn) GetSpuCategShopCategId ¶
func (*CmsColumn) GetUpdatedAt ¶
func (entity *CmsColumn) GetUpdatedAt() model.LocalTimeInt
func (*CmsColumn) GetUpdatedBy ¶
func (*CmsColumn) SetAdEditorId ¶
func (*CmsColumn) SetColumnId ¶
func (*CmsColumn) SetCreatedAt ¶
func (entity *CmsColumn) SetCreatedAt(CreatedAt model.LocalTimeInt)
func (*CmsColumn) SetCreatedBy ¶
func (*CmsColumn) SetDeletedAt ¶
func (entity *CmsColumn) SetDeletedAt(DeletedAt model.LocalTimeInt)
func (*CmsColumn) SetDeletedBy ¶
func (*CmsColumn) SetDescription ¶
func (*CmsColumn) SetEditorId ¶
func (*CmsColumn) SetIsVirtual ¶
func (*CmsColumn) SetLayoutId ¶
func (*CmsColumn) SetListOrder ¶
func (*CmsColumn) SetParentId ¶
func (*CmsColumn) SetPublisherSpuId ¶
func (*CmsColumn) SetResourceName ¶
func (*CmsColumn) SetSeoTitle ¶
func (*CmsColumn) SetSpuCategShopCategId ¶
func (*CmsColumn) SetUpdatedAt ¶
func (entity *CmsColumn) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
func (*CmsColumn) SetUpdatedBy ¶
func (*CmsColumn) UnmarshalBy ¶
type CmsLayout ¶
type CmsLayout struct { // CmsLayoutBase // ModelBase /* */ LayoutId *int64 `gorm:"column:layout_id;type:INT8;PRIMARY_KEY;default:unique_rowid()" json:"layout_id,string"` /* */ ShopId *int64 `gorm:"column:shop_id;type:INT8" json:"shop_id,string"` /* */ ParentId *int64 `gorm:"column:parent_id;type:INT8" json:"parent_id,string"` /* */ LayoutTypeId *int64 `gorm:"column:layout_type_id;type:INT8" json:"layout_type_id,string"` /* */ Number *int32 `gorm:"column:number;type:INT4" json:"number"` /* */ SidebarType *int32 `gorm:"column:sidebar_type;type:INT4" json:"sidebar_type"` /* */ MaximumItems *int32 `gorm:"column:maximum_items;type:INT4" json:"maximum_items"` /* */ Sketch *string `gorm:"column:sketch;type:VARCHAR(512)" json:"sketch"` /* */ CreatedAt *model.LocalTimeInt `gorm:"column:created_at;type:TIMESTAMPTZ" json:"created_at"` /* */ CreatedBy *int64 `gorm:"column:created_by;type:INT8" json:"created_by,string"` /* */ UpdatedAt *model.LocalTimeInt `gorm:"column:updated_at;type:TIMESTAMPTZ" json:"updated_at"` /* */ UpdatedBy *int64 `gorm:"column:updated_by;type:INT8" json:"updated_by,string"` /* */ DeletedAt *model.LocalTimeInt `gorm:"column:deleted_at;type:TIMESTAMPTZ" json:"deleted_at"` /* */ DeletedBy *int64 `gorm:"column:deleted_by;type:INT8" json:"deleted_by,string"` /* */ Name *string `gorm:"column:name;type:VARCHAR(512)" json:"name"` }
指定扩展结结构,单独存文件。生成时不会覆盖:
type CmsLayoutBase struct {ModelBase}
func (*CmsLayout) GetCreatedAt ¶
func (entity *CmsLayout) GetCreatedAt() model.LocalTimeInt
func (*CmsLayout) GetCreatedBy ¶
func (*CmsLayout) GetDeletedAt ¶
func (entity *CmsLayout) GetDeletedAt() model.LocalTimeInt
func (*CmsLayout) GetDeletedBy ¶
func (*CmsLayout) GetLayoutId ¶
func (*CmsLayout) GetLayoutTypeId ¶
func (*CmsLayout) GetMaximumItems ¶
func (*CmsLayout) GetParentId ¶
func (*CmsLayout) GetSidebarType ¶
func (*CmsLayout) GetUpdatedAt ¶
func (entity *CmsLayout) GetUpdatedAt() model.LocalTimeInt
func (*CmsLayout) GetUpdatedBy ¶
func (*CmsLayout) SetCreatedAt ¶
func (entity *CmsLayout) SetCreatedAt(CreatedAt model.LocalTimeInt)
func (*CmsLayout) SetCreatedBy ¶
func (*CmsLayout) SetDeletedAt ¶
func (entity *CmsLayout) SetDeletedAt(DeletedAt model.LocalTimeInt)
func (*CmsLayout) SetDeletedBy ¶
func (*CmsLayout) SetLayoutId ¶
func (*CmsLayout) SetLayoutTypeId ¶
func (*CmsLayout) SetMaximumItems ¶
func (*CmsLayout) SetParentId ¶
func (*CmsLayout) SetSidebarType ¶
func (*CmsLayout) SetUpdatedAt ¶
func (entity *CmsLayout) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
func (*CmsLayout) SetUpdatedBy ¶
type CmsLayoutItem ¶
type CmsLayoutItem struct { // CmsLayoutItemBase // ModelBase /* */ LayoutItemId *int64 `gorm:"column:layout_item_id;type:INT8;PRIMARY_KEY" json:"LayoutItemId,string"` /* */ ShopId *int64 `gorm:"column:shop_id;type:INT8" json:"ShopId,string"` /* */ LayoutId *int64 `gorm:"column:layout_id;type:INT8" json:"LayoutId,string"` /* */ Name *string `gorm:"column:name;type:VARCHAR(512)" json:"Name"` /* */ Sketch *string `gorm:"column:sketch;type:VARCHAR(512)" json:"Sketch"` /* */ Code *int64 `gorm:"column:code;type:INT8" json:"Code,string"` /* */ Number *int64 `gorm:"column:number;type:INT8" json:"Number,string"` /* */ ListOrder *int64 `gorm:"column:list_order;type:INT8" json:"ListOrder,string"` /* */ IsSlide *bool `gorm:"column:is_slide;type:BOOL" json:"IsSlide"` /* */ CreatedAt *model.LocalDateInt `gorm:"column:created_at;type:TIMESTAMPTZ" json:"CreatedAt"` /* */ CreatedBy *int64 `gorm:"column:created_by;type:INT8" json:"CreatedBy,string"` /* */ UpdatedAt *model.LocalDateInt `gorm:"column:updated_at;type:TIMESTAMPTZ" json:"UpdatedAt"` /* */ UpdatedBy *int64 `gorm:"column:updated_by;type:INT8" json:"UpdatedBy,string"` /* */ DeletedAt *model.LocalDateInt `gorm:"column:deleted_at;type:TIMESTAMPTZ" json:"DeletedAt"` /* */ DeletedBy *int64 `gorm:"column:deleted_by;type:INT8" json:"DeletedBy,string"` }
指定扩展结结构,单独存文件。生成时不会覆盖:
type CmsLayoutItemBase struct {ModelBase}
func (*CmsLayoutItem) AutoMigrate ¶
func (entity *CmsLayoutItem) AutoMigrate(db *gorm.DB) error
func (*CmsLayoutItem) GetCode ¶
func (entity *CmsLayoutItem) GetCode() int64
func (*CmsLayoutItem) GetCreatedAt ¶
func (entity *CmsLayoutItem) GetCreatedAt() model.LocalDateInt
func (*CmsLayoutItem) GetCreatedBy ¶
func (entity *CmsLayoutItem) GetCreatedBy() int64
func (*CmsLayoutItem) GetDeletedAt ¶
func (entity *CmsLayoutItem) GetDeletedAt() model.LocalDateInt
func (*CmsLayoutItem) GetDeletedBy ¶
func (entity *CmsLayoutItem) GetDeletedBy() int64
func (*CmsLayoutItem) GetIsSlide ¶
func (entity *CmsLayoutItem) GetIsSlide() bool
func (*CmsLayoutItem) GetLayoutId ¶
func (entity *CmsLayoutItem) GetLayoutId() int64
func (*CmsLayoutItem) GetLayoutItemId ¶
func (entity *CmsLayoutItem) GetLayoutItemId() int64
func (*CmsLayoutItem) GetListOrder ¶
func (entity *CmsLayoutItem) GetListOrder() int64
func (*CmsLayoutItem) GetName ¶
func (entity *CmsLayoutItem) GetName() string
func (*CmsLayoutItem) GetNumber ¶
func (entity *CmsLayoutItem) GetNumber() int64
func (*CmsLayoutItem) GetShopId ¶
func (entity *CmsLayoutItem) GetShopId() int64
func (*CmsLayoutItem) GetSketch ¶
func (entity *CmsLayoutItem) GetSketch() string
func (*CmsLayoutItem) GetUpdatedAt ¶
func (entity *CmsLayoutItem) GetUpdatedAt() model.LocalDateInt
func (*CmsLayoutItem) GetUpdatedBy ¶
func (entity *CmsLayoutItem) GetUpdatedBy() int64
func (*CmsLayoutItem) Ini ¶
func (entity *CmsLayoutItem) Ini(iniPk bool) *CmsLayoutItem
iniPk bool:是否初始化主键LayoutItemId
func (*CmsLayoutItem) IniNil ¶
func (entity *CmsLayoutItem) IniNil(iniPk bool) *CmsLayoutItem
iniPk bool:是否初始化主键LayoutItemId 初始化空指针
func (*CmsLayoutItem) SetCode ¶
func (entity *CmsLayoutItem) SetCode(Code int64)
func (*CmsLayoutItem) SetCreatedAt ¶
func (entity *CmsLayoutItem) SetCreatedAt(CreatedAt model.LocalDateInt)
func (*CmsLayoutItem) SetCreatedBy ¶
func (entity *CmsLayoutItem) SetCreatedBy(CreatedBy int64)
func (*CmsLayoutItem) SetDeletedAt ¶
func (entity *CmsLayoutItem) SetDeletedAt(DeletedAt model.LocalDateInt)
func (*CmsLayoutItem) SetDeletedBy ¶
func (entity *CmsLayoutItem) SetDeletedBy(DeletedBy int64)
func (*CmsLayoutItem) SetIsSlide ¶
func (entity *CmsLayoutItem) SetIsSlide(IsSlide bool)
func (*CmsLayoutItem) SetLayoutId ¶
func (entity *CmsLayoutItem) SetLayoutId(LayoutId int64)
func (*CmsLayoutItem) SetLayoutItemId ¶
func (entity *CmsLayoutItem) SetLayoutItemId(LayoutItemId int64)
func (*CmsLayoutItem) SetListOrder ¶
func (entity *CmsLayoutItem) SetListOrder(ListOrder int64)
func (*CmsLayoutItem) SetName ¶
func (entity *CmsLayoutItem) SetName(Name string)
func (*CmsLayoutItem) SetNumber ¶
func (entity *CmsLayoutItem) SetNumber(Number int64)
func (*CmsLayoutItem) SetShopId ¶
func (entity *CmsLayoutItem) SetShopId(ShopId int64)
func (*CmsLayoutItem) SetSketch ¶
func (entity *CmsLayoutItem) SetSketch(Sketch string)
func (*CmsLayoutItem) SetUpdatedAt ¶
func (entity *CmsLayoutItem) SetUpdatedAt(UpdatedAt model.LocalDateInt)
func (*CmsLayoutItem) SetUpdatedBy ¶
func (entity *CmsLayoutItem) SetUpdatedBy(UpdatedBy int64)
func (*CmsLayoutItem) TableName ¶
func (*CmsLayoutItem) TableName() string
gorm默认生成的表名是结构名+'s',所以必须以结构方法指定!
func (*CmsLayoutItem) ToString ¶
func (entity *CmsLayoutItem) ToString() string
func (*CmsLayoutItem) Unmarshal ¶
func (entity *CmsLayoutItem) Unmarshal(body string)
type CmsLayoutType ¶
type CmsLayoutType struct { /* */ LayoutTypeId *int32 `gorm:"column:layout_type_id;type:int(11);PRIMARY_KEY;comment:''" json:"layout_type_id"` /* */ ShopId *int64 `gorm:"column:shop_id;type:bigint(20);comment:''" json:"shop_id,string"` /* */ Name *string `gorm:"column:name;type:varchar(64);comment:''" json:"name"` /* */ IsDefault *int8 `gorm:"column:is_default;type:tinyint(1);comment:''" json:"is_default"` /* */ Active *model.BitField `gorm:"column:active;type:bit(8);comment:''" json:"active"` /* */ CreatedAt *model.LocalDateInt `gorm:"column:created_at;type:date;comment:''" json:"created_at"` /* */ CreatedBy *int64 `gorm:"column:created_by;type:bigint(32);comment:''" json:"created_by,string"` /* */ Dfdd *model.LocalTimeInt `gorm:"column:dfdd;type:datetime(4);comment:''" json:"dfdd"` }
func (*CmsLayoutType) GetActive ¶
func (entity *CmsLayoutType) GetActive() model.BitField
func (*CmsLayoutType) GetCreatedAt ¶
func (entity *CmsLayoutType) GetCreatedAt() model.LocalDateInt
func (*CmsLayoutType) GetCreatedBy ¶
func (entity *CmsLayoutType) GetCreatedBy() int64
func (*CmsLayoutType) GetDfdd ¶
func (entity *CmsLayoutType) GetDfdd() model.LocalTimeInt
func (*CmsLayoutType) GetIsDefault ¶
func (entity *CmsLayoutType) GetIsDefault() int8
func (*CmsLayoutType) GetLayoutTypeId ¶
func (entity *CmsLayoutType) GetLayoutTypeId() int32
func (*CmsLayoutType) GetName ¶
func (entity *CmsLayoutType) GetName() string
func (*CmsLayoutType) GetShopId ¶
func (entity *CmsLayoutType) GetShopId() int64
func (*CmsLayoutType) Ini ¶
func (entity *CmsLayoutType) Ini(iniPk bool) *CmsLayoutType
iniPk bool:是否初始化主键LayoutTypeId 初始化指针
func (*CmsLayoutType) IniNil ¶
func (entity *CmsLayoutType) IniNil(iniPk bool) *CmsLayoutType
iniPk bool:是否初始化主键LayoutTypeId 初始化指针
func (*CmsLayoutType) SetActive ¶
func (entity *CmsLayoutType) SetActive(Active model.BitField)
func (*CmsLayoutType) SetCreatedAt ¶
func (entity *CmsLayoutType) SetCreatedAt(CreatedAt model.LocalDateInt)
func (*CmsLayoutType) SetCreatedBy ¶
func (entity *CmsLayoutType) SetCreatedBy(CreatedBy int64)
func (*CmsLayoutType) SetDfdd ¶
func (entity *CmsLayoutType) SetDfdd(Dfdd model.LocalTimeInt)
func (*CmsLayoutType) SetIsDefault ¶
func (entity *CmsLayoutType) SetIsDefault(IsDefault int8)
func (*CmsLayoutType) SetLayoutTypeId ¶
func (entity *CmsLayoutType) SetLayoutTypeId(LayoutTypeId int32)
func (*CmsLayoutType) SetName ¶
func (entity *CmsLayoutType) SetName(Name string)
func (*CmsLayoutType) SetShopId ¶
func (entity *CmsLayoutType) SetShopId(ShopId int64)
func (*CmsLayoutType) TableName ¶
func (entity *CmsLayoutType) TableName() string
gorm默认生成的表名是结构名+'s',所以必须以结构方法指定!
func (*CmsLayoutType) ToString ¶
func (entity *CmsLayoutType) ToString() string
func (*CmsLayoutType) Unmarshal ¶
func (entity *CmsLayoutType) Unmarshal(body string) error
type CmsVisit ¶
type CmsVisit struct { // CmsVisitBase // ModelBase /* */ VisitId *int64 `gorm:"column:visit_id;type:INT8;PRIMARY_KEY;default:unique_rowid()" json:"visit_id,string"` /* 商户ID */ ShopId *int64 `gorm:"column:shop_id;type:INT8" json:"shop_id,string"` /* 来源栏目表 */ ColumnId *int64 `gorm:"column:column_id;type:INT8" json:"column_id,string"` /* 访问者ID */ VisitorId *int64 `gorm:"column:visitor_id;type:INT8" json:"visitor_id,string"` /* 访问路径 */ Processing *string `gorm:"column:processing;type:VARCHAR(512)" json:"processing"` /* 终端类型 */ ScanType *string `gorm:"column:scan_type;type:VARCHAR(32)" json:"scan_type"` /* */ IpAddress *string `gorm:"column:ip_address;type:VARCHAR(21)" json:"ip_address"` /* */ IsGuest *bool `gorm:"column:is_guest;type:BOOL" json:"is_guest"` /* */ ReadingCount *int32 `gorm:"column:reading_count;type:INT4" json:"reading_count"` /* */ CreatedAt *model.LocalTimeInt `gorm:"column:created_at;type:TIMESTAMP" json:"created_at"` /* */ CreatedBy *int64 `gorm:"column:created_by;type:INT8" json:"created_by,string"` /* */ UpdatedAt *model.LocalTimeInt `gorm:"column:updated_at;type:TIMESTAMP" json:"updated_at"` /* */ UpdatedBy *int64 `gorm:"column:updated_by;type:INT8" json:"updated_by,string"` /* */ DeletedAt *model.LocalTimeInt `gorm:"column:deleted_at;type:TIMESTAMP" json:"deleted_at"` /* */ DeletedBy *int64 `gorm:"column:deleted_by;type:INT8" json:"deleted_by,string"` }
指定扩展结结构,单独存文件。生成时不会覆盖:
type CmsVisitBase struct {ModelBase}
func (*CmsVisit) GetColumnId ¶
func (*CmsVisit) GetCreatedAt ¶
func (entity *CmsVisit) GetCreatedAt() model.LocalTimeInt
func (*CmsVisit) GetCreatedBy ¶
func (*CmsVisit) GetDeletedAt ¶
func (entity *CmsVisit) GetDeletedAt() model.LocalTimeInt
func (*CmsVisit) GetDeletedBy ¶
func (*CmsVisit) GetIpAddress ¶
func (*CmsVisit) GetIsGuest ¶
func (*CmsVisit) GetProcessing ¶
func (*CmsVisit) GetReadingCount ¶
func (*CmsVisit) GetScanType ¶
func (*CmsVisit) GetUpdatedAt ¶
func (entity *CmsVisit) GetUpdatedAt() model.LocalTimeInt
func (*CmsVisit) GetUpdatedBy ¶
func (*CmsVisit) GetVisitId ¶
func (*CmsVisit) GetVisitorId ¶
func (*CmsVisit) SetColumnId ¶
func (*CmsVisit) SetCreatedAt ¶
func (entity *CmsVisit) SetCreatedAt(CreatedAt model.LocalTimeInt)
func (*CmsVisit) SetCreatedBy ¶
func (*CmsVisit) SetDeletedAt ¶
func (entity *CmsVisit) SetDeletedAt(DeletedAt model.LocalTimeInt)
func (*CmsVisit) SetDeletedBy ¶
func (*CmsVisit) SetIpAddress ¶
func (*CmsVisit) SetIsGuest ¶
func (*CmsVisit) SetProcessing ¶
func (*CmsVisit) SetReadingCount ¶
func (*CmsVisit) SetScanType ¶
func (*CmsVisit) SetUpdatedAt ¶
func (entity *CmsVisit) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
func (*CmsVisit) SetUpdatedBy ¶
func (*CmsVisit) SetVisitId ¶
func (*CmsVisit) SetVisitorId ¶
type Department ¶
type Department struct { // DepartmentBase // ModelBase /* */ Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY;comment:''" json:"id"` /* 编码 */ Code *string `gorm:"column:code;type:varchar(32);comment:'编码';default:\'none\'" json:"code"` /* 部门名称 */ Name *string `gorm:"column:name;type:varchar(32);comment:'部门名称'" json:"name"` /* */ ParentId *int32 `gorm:"column:parentId;type:int(11);comment:''" json:"parentId"` /* */ DepPath *string `gorm:"column:depPath;type:varchar(255);comment:''" json:"depPath"` /* */ Enabled *model.BitField `gorm:"column:enabled;type:bit(1);comment:''" json:"enabled"` /* */ IsParent *int8 `gorm:"column:isParent;type:tinyint(1);comment:'';default:0" json:"isParent"` /* 负责人 */ MngrId *int32 `gorm:"column:mngrId;type:int(11);comment:'负责人';default:0" json:"mngrId"` /* 0-部门 1-班组 */ Type *int32 `gorm:"column:type;type:int(11);comment:'0-部门 1-班组';default:0" json:"type"` }
指定扩展结结构,单独存文件。生成时不会覆盖:
type DepartmentBase struct {ModelBase}
func (*Department) GetCode ¶
func (entity *Department) GetCode() string
func (*Department) GetDepPath ¶
func (entity *Department) GetDepPath() string
func (*Department) GetEnabled ¶
func (entity *Department) GetEnabled() model.BitField
func (*Department) GetId ¶
func (entity *Department) GetId() int32
func (*Department) GetIsParent ¶
func (entity *Department) GetIsParent() int8
func (*Department) GetMngrId ¶
func (entity *Department) GetMngrId() int32
func (*Department) GetName ¶
func (entity *Department) GetName() string
func (*Department) GetParentId ¶
func (entity *Department) GetParentId() int32
func (*Department) GetType ¶
func (entity *Department) GetType() int32
func (*Department) IniNil ¶
func (entity *Department) IniNil(iniPk bool) *Department
iniPk bool:是否初始化主键Id 初始化空指针
func (*Department) SetCode ¶
func (entity *Department) SetCode(Code string)
func (*Department) SetDepPath ¶
func (entity *Department) SetDepPath(DepPath string)
func (*Department) SetEnabled ¶
func (entity *Department) SetEnabled(Enabled model.BitField)
func (*Department) SetId ¶
func (entity *Department) SetId(Id int32)
func (*Department) SetIsParent ¶
func (entity *Department) SetIsParent(IsParent int8)
func (*Department) SetMngrId ¶
func (entity *Department) SetMngrId(MngrId int32)
func (*Department) SetName ¶
func (entity *Department) SetName(Name string)
func (*Department) SetParentId ¶
func (entity *Department) SetParentId(ParentId int32)
func (*Department) SetType ¶
func (entity *Department) SetType(Type int32)
func (*Department) TableName ¶
func (entity *Department) TableName() string
gorm默认生成的表名是结构名+'s',所以必须以结构方法指定!
func (*Department) ToString ¶
func (entity *Department) ToString() string
func (*Department) Unmarshal ¶
func (entity *Department) Unmarshal(body string) error
type Employee ¶
type Employee struct { EmployeeBase // ModelBase /* 员工编号 */ Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY;comment:'员工编号'" json:"id"` /* 所属部门 */ DepartmentId *int32 `gorm:"column:departmentId;type:int(11);comment:'所属部门';default:0" json:"departmentId"` /* 员工姓名 */ Name *string `gorm:"column:name;type:varchar(16);comment:'员工姓名'" json:"name"` /* 性别 */ Gender *string `gorm:"column:gender;type:char(4);comment:'性别'" json:"gender"` /* 出生日期 */ Birthday *model.LocalDateInt `gorm:"column:birthday;type:date;comment:'出生日期'" json:"birthday"` /* 身份证号 */ IdCard *string `gorm:"column:idCard;type:char(18);comment:'身份证号'" json:"idCard"` /* 婚姻状况 */ Wedlock *string `gorm:"column:wedlock;type:varchar(8);comment:'婚姻状况'" json:"wedlock"` /* 民族 */ NationId *int32 `gorm:"column:nationId;type:int(8);comment:'民族'" json:"nationId"` /* 籍贯 */ NativePlace *string `gorm:"column:nativePlace;type:varchar(20);comment:'籍贯'" json:"nativePlace"` /* 政治面貌 */ PoliticId *int32 `gorm:"column:politicId;type:int(8);comment:'政治面貌'" json:"politicId"` /* 邮箱 */ Email *string `gorm:"column:email;type:varchar(20);comment:'邮箱'" json:"email"` /* 电话号码 */ Phone *string `gorm:"column:phone;type:varchar(11);comment:'电话号码'" json:"phone"` /* 联系地址 */ Address *string `gorm:"column:address;type:varchar(64);comment:'联系地址'" json:"address"` /* 职称ID */ JobLevelId *int32 `gorm:"column:jobLevelId;type:int(11);comment:'职称ID'" json:"jobLevelId"` /* 职位ID */ PosId *int32 `gorm:"column:posId;type:int(11);comment:'职位ID'" json:"posId"` /* 聘用形式 */ EngageForm *string `gorm:"column:engageForm;type:varchar(8);comment:'聘用形式'" json:"engageForm"` /* 最高学历 */ TiptopDegree *string `gorm:"column:tiptopDegree;type:varchar(8);comment:'最高学历'" json:"tiptopDegree"` /* 所属专业 */ Specialty *string `gorm:"column:specialty;type:varchar(32);comment:'所属专业'" json:"specialty"` /* 毕业院校 */ School *string `gorm:"column:school;type:varchar(32);comment:'毕业院校'" json:"school"` /* 入职日期 */ BeginDate *model.LocalDateInt `gorm:"column:beginDate;type:date;comment:'入职日期'" json:"beginDate"` /* 在职状态 */ WorkState *string `gorm:"column:workState;type:varchar(8);comment:'在职状态';default:\'在职\'" json:"workState"` /* 工号 */ Code *string `gorm:"column:code;type:varchar(8);comment:'工号'" json:"code"` /* 合同期限 */ ContractTerm *float64 `gorm:"column:contractTerm;type:double;comment:'合同期限'" json:"contractTerm"` /* 转正日期 */ ConversionTime *model.LocalDateInt `gorm:"column:conversionTime;type:date;comment:'转正日期'" json:"conversionTime"` /* 离职日期 */ NotWorkDate *model.LocalDateInt `gorm:"column:notWorkDate;type:date;comment:'离职日期'" json:"notWorkDate"` /* 合同起始日期 */ BeginContract *model.LocalDateInt `gorm:"column:beginContract;type:date;comment:'合同起始日期'" json:"beginContract"` /* 合同终止日期 */ EndContract *model.LocalDateInt `gorm:"column:endContract;type:date;comment:'合同终止日期'" json:"endContract"` /* 工龄 */ WorkAge *int32 `gorm:"column:workAge;type:int(11);comment:'工龄'" json:"workAge"` /* */ WorkId *string `gorm:"column:workId;type:varchar(16);comment:''" json:"workId"` }
指定扩展结结构,单独存文件。生成时不会覆盖:
type EmployeeBase struct {ModelBase}
func (*Employee) GetAddress ¶
func (*Employee) GetBeginContract ¶
func (entity *Employee) GetBeginContract() model.LocalDateInt
func (*Employee) GetBeginDate ¶
func (entity *Employee) GetBeginDate() model.LocalDateInt
func (*Employee) GetBirthday ¶
func (entity *Employee) GetBirthday() model.LocalDateInt
func (*Employee) GetContractTerm ¶
func (*Employee) GetConversionTime ¶
func (entity *Employee) GetConversionTime() model.LocalDateInt
func (*Employee) GetDepartmentId ¶
func (*Employee) GetEndContract ¶
func (entity *Employee) GetEndContract() model.LocalDateInt
func (*Employee) GetEngageForm ¶
func (*Employee) GetJobLevelId ¶
func (*Employee) GetNationId ¶
func (*Employee) GetNativePlace ¶
func (*Employee) GetNotWorkDate ¶
func (entity *Employee) GetNotWorkDate() model.LocalDateInt
func (*Employee) GetPoliticId ¶
func (*Employee) GetSpecialty ¶
func (*Employee) GetTiptopDegree ¶
func (*Employee) GetWedlock ¶
func (*Employee) GetWorkAge ¶
func (*Employee) GetWorkState ¶
func (*Employee) SetAddress ¶
func (*Employee) SetBeginContract ¶
func (entity *Employee) SetBeginContract(BeginContract model.LocalDateInt)
func (*Employee) SetBeginDate ¶
func (entity *Employee) SetBeginDate(BeginDate model.LocalDateInt)
func (*Employee) SetBirthday ¶
func (entity *Employee) SetBirthday(Birthday model.LocalDateInt)
func (*Employee) SetContractTerm ¶
func (*Employee) SetConversionTime ¶
func (entity *Employee) SetConversionTime(ConversionTime model.LocalDateInt)
func (*Employee) SetDepartmentId ¶
func (*Employee) SetEndContract ¶
func (entity *Employee) SetEndContract(EndContract model.LocalDateInt)
func (*Employee) SetEngageForm ¶
func (*Employee) SetJobLevelId ¶
func (*Employee) SetNationId ¶
func (*Employee) SetNativePlace ¶
func (*Employee) SetNotWorkDate ¶
func (entity *Employee) SetNotWorkDate(NotWorkDate model.LocalDateInt)
func (*Employee) SetPoliticId ¶
func (*Employee) SetSpecialty ¶
func (*Employee) SetTiptopDegree ¶
func (*Employee) SetWedlock ¶
func (*Employee) SetWorkAge ¶
func (*Employee) SetWorkState ¶
type EmployeeBase ¶
type EmployeeBase struct { Department *Department `json:"department"` Joblevel *Joblevel `json:"joblevel"` Position *Position `json:"position"` Nation *Nation `json:"nation"` Politicsstatus *Politicsstatus `json:"politicsstatus"` }
type HubLevels ¶
type HubLevels struct { /* */ Id *int64 `gorm:"column:id;type:INT8;PRIMARY_KEY;default:unique_rowid()" json:"id,string"` /* */ ShopId *int64 `gorm:"column:shop_id;type:INT8" json:"shop_id,string"` /* */ ServiceMapperId *int64 `gorm:"column:service_mapper_id;type:INT8" json:"service_mapper_id,string"` /* */ ContractTypeId *int64 `gorm:"column:contract_type_id;type:INT8" json:"contract_type_id,string"` /* */ MapperType *string `gorm:"column:mapper_type;type:VARCHAR(255)" json:"mapper_type"` /* */ Mark *string `gorm:"column:mark;type:VARCHAR(255)" json:"mark"` /* */ Name *string `gorm:"column:name;type:VARCHAR(255)" json:"name"` /* */ Code *string `gorm:"column:code;type:VARCHAR(255)" json:"code"` /* */ Active *bool `gorm:"column:active;type:BOOL" json:"active"` /* */ ListOrder *int64 `gorm:"column:list_order;type:INT8" json:"list_order,string"` /* */ DeletedAt *model.LocalTimeInt `gorm:"column:deleted_at;type:TIMESTAMP(6)" json:"deleted_at"` /* */ DeletedBy *int64 `gorm:"column:deleted_by;type:INT8" json:"deleted_by,string"` /* */ State *int64 `gorm:"column:state;type:INT8" json:"state,string"` /* */ PublishedBy *int64 `gorm:"column:published_by;type:INT8" json:"published_by,string"` /* */ Sequence *int64 `gorm:"column:sequence;type:INT8" json:"sequence,string"` /* */ SingleRate *float64 `gorm:"column:single_rate;type:FLOAT8" json:"single_rate"` /* */ ComboRate *float64 `gorm:"column:combo_rate;type:FLOAT8" json:"combo_rate"` /* */ CreatedAt *model.LocalTimeInt `gorm:"column:created_at;type:TIMESTAMP(6)" json:"created_at"` /* */ UpdatedAt *model.LocalTimeInt `gorm:"column:updated_at;type:TIMESTAMP(6)" json:"updated_at"` /* */ PublishedAt *model.LocalTimeInt `gorm:"column:published_at;type:TIMESTAMP(6)" json:"published_at"` /* */ CreatedById *int64 `gorm:"column:created_by_id;type:INT8" json:"created_by_id,string"` /* */ UpdatedById *int64 `gorm:"column:updated_by_id;type:INT8" json:"updated_by_id,string"` /* */ CreatedUserId *int64 `gorm:"column:created_user_id;type:INT8" json:"created_user_id,string"` /* */ UpdatedUserId *int64 `gorm:"column:updated_user_id;type:INT8" json:"updated_user_id,string"` }
func (*HubLevels) GetComboRate ¶
func (*HubLevels) GetContractTypeId ¶
func (*HubLevels) GetCreatedAt ¶
func (entity *HubLevels) GetCreatedAt() model.LocalTimeInt
func (*HubLevels) GetCreatedById ¶
func (*HubLevels) GetCreatedUserId ¶
func (*HubLevels) GetDeletedAt ¶
func (entity *HubLevels) GetDeletedAt() model.LocalTimeInt
func (*HubLevels) GetDeletedBy ¶
func (*HubLevels) GetListOrder ¶
func (*HubLevels) GetMapperType ¶
func (*HubLevels) GetPublishedAt ¶
func (entity *HubLevels) GetPublishedAt() model.LocalTimeInt
func (*HubLevels) GetPublishedBy ¶
func (*HubLevels) GetSequence ¶
func (*HubLevels) GetServiceMapperId ¶
func (*HubLevels) GetSingleRate ¶
func (*HubLevels) GetUpdatedAt ¶
func (entity *HubLevels) GetUpdatedAt() model.LocalTimeInt
func (*HubLevels) GetUpdatedById ¶
func (*HubLevels) GetUpdatedUserId ¶
func (*HubLevels) SetComboRate ¶
func (*HubLevels) SetContractTypeId ¶
func (*HubLevels) SetCreatedAt ¶
func (entity *HubLevels) SetCreatedAt(CreatedAt model.LocalTimeInt)
func (*HubLevels) SetCreatedById ¶
func (*HubLevels) SetCreatedUserId ¶
func (*HubLevels) SetDeletedAt ¶
func (entity *HubLevels) SetDeletedAt(DeletedAt model.LocalTimeInt)
func (*HubLevels) SetDeletedBy ¶
func (*HubLevels) SetListOrder ¶
func (*HubLevels) SetMapperType ¶
func (*HubLevels) SetPublishedAt ¶
func (entity *HubLevels) SetPublishedAt(PublishedAt model.LocalTimeInt)
func (*HubLevels) SetPublishedBy ¶
func (*HubLevels) SetSequence ¶
func (*HubLevels) SetServiceMapperId ¶
func (*HubLevels) SetSingleRate ¶
func (*HubLevels) SetUpdatedAt ¶
func (entity *HubLevels) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
func (*HubLevels) SetUpdatedById ¶
func (*HubLevels) SetUpdatedUserId ¶
func (*HubLevels) UnmarshalBy ¶
type HubQuotas ¶
type HubQuotas struct { /* */ Id int64 `gorm:"column:id;type:INT8;PRIMARY_KEY;default:unique_rowid()" json:"id,string"` /* */ ShopId int64 `gorm:"column:shop_id;type:INT8" json:"shop_id,string"` /* */ GrantMark bool `gorm:"column:grant_mark;type:BOOL" json:"grant_mark"` /* */ FreeCharge bool `gorm:"column:free_charge;type:BOOL" json:"free_charge"` /* */ Unlimited bool `gorm:"column:unlimited;type:BOOL" json:"unlimited"` /* */ ScheduleUom int64 `gorm:"column:schedule_uom;type:INT8" json:"schedule_uom,string"` /* */ PartNumber string `gorm:"column:part_number;type:VARCHAR(255)" json:"part_number"` /* */ Code string `gorm:"column:code;type:VARCHAR(255)" json:"code"` /* */ SpuId int64 `gorm:"column:spu_id;type:INT8" json:"spu_id,string"` /* */ Description string `gorm:"column:description;type:STRING" json:"description"` /* */ ListOrder int64 `gorm:"column:list_order;type:INT8" json:"list_order,string"` /* */ Active bool `gorm:"column:active;type:BOOL" json:"active"` /* */ DeletedAt model.LocalTimeInt `gorm:"column:deleted_at;type:TIMESTAMP(6)" json:"deleted_at"` /* */ DeletedBy int64 `gorm:"column:deleted_by;type:INT8" json:"deleted_by,string"` /* */ QuotaQty int64 `gorm:"column:quota_qty;type:INT8" json:"quota_qty,string"` /* */ Price float64 `gorm:"column:price;type:FLOAT8" json:"price"` /* */ SkuId int64 `gorm:"column:sku_id;type:INT8" json:"sku_id,string"` /* */ State int64 `gorm:"column:state;type:INT8" json:"state,string"` /* */ DomainId int64 `gorm:"column:domain_id;type:INT8" json:"domain_id,string"` /* */ EntityId int64 `gorm:"column:entity_id;type:INT8" json:"entity_id,string"` /* */ QuotaItemId int64 `gorm:"column:quota_item_id;type:INT8" json:"quota_item_id,string"` /* */ CurrencyId int64 `gorm:"column:currency_id;type:INT8" json:"currency_id,string"` /* */ ShopSkuId int64 `gorm:"column:shop_sku_id;type:INT8" json:"shop_sku_id,string"` /* */ BizAvabLineId int64 `gorm:"column:biz_avab_line_id;type:INT8" json:"biz_avab_line_id,string"` /* */ PublishedAt model.LocalTimeInt `gorm:"column:published_at;type:TIMESTAMP(6)" json:"published_at"` /* */ CreatedAt model.LocalTimeInt `gorm:"column:created_at;type:TIMESTAMP(6)" json:"created_at"` /* */ UpdatedAt model.LocalTimeInt `gorm:"column:updated_at;type:TIMESTAMP(6)" json:"updated_at"` /* */ CreatedById int64 `gorm:"column:created_by_id;type:INT8" json:"created_by_id,string"` /* */ UpdatedById int64 `gorm:"column:updated_by_id;type:INT8" json:"updated_by_id,string"` /* */ CreatedUserId int64 `gorm:"column:created_user_id;type:INT8" json:"created_user_id,string"` /* */ UpdatedUserId int64 `gorm:"column:updated_user_id;type:INT8" json:"updated_user_id,string"` }
func (*HubQuotas) GetBizAvabLineId ¶
func (*HubQuotas) GetCreatedAt ¶
func (entity *HubQuotas) GetCreatedAt() model.LocalTimeInt
func (*HubQuotas) GetCreatedById ¶
func (*HubQuotas) GetCreatedUserId ¶
func (*HubQuotas) GetCurrencyId ¶
func (*HubQuotas) GetDeletedAt ¶
func (entity *HubQuotas) GetDeletedAt() model.LocalTimeInt
func (*HubQuotas) GetDeletedBy ¶
func (*HubQuotas) GetDescription ¶
func (*HubQuotas) GetDomainId ¶
func (*HubQuotas) GetEntityId ¶
func (*HubQuotas) GetFreeCharge ¶
func (*HubQuotas) GetGrantMark ¶
func (*HubQuotas) GetListOrder ¶
func (*HubQuotas) GetPartNumber ¶
func (*HubQuotas) GetPublishedAt ¶
func (entity *HubQuotas) GetPublishedAt() model.LocalTimeInt
func (*HubQuotas) GetQuotaItemId ¶
func (*HubQuotas) GetQuotaQty ¶
func (*HubQuotas) GetScheduleUom ¶
func (*HubQuotas) GetShopSkuId ¶
func (*HubQuotas) GetUnlimited ¶
func (*HubQuotas) GetUpdatedAt ¶
func (entity *HubQuotas) GetUpdatedAt() model.LocalTimeInt
func (*HubQuotas) GetUpdatedById ¶
func (*HubQuotas) GetUpdatedUserId ¶
func (*HubQuotas) SetBizAvabLineId ¶
func (*HubQuotas) SetCreatedAt ¶
func (entity *HubQuotas) SetCreatedAt(CreatedAt model.LocalTimeInt)
func (*HubQuotas) SetCreatedById ¶
func (*HubQuotas) SetCreatedUserId ¶
func (*HubQuotas) SetCurrencyId ¶
func (*HubQuotas) SetDeletedAt ¶
func (entity *HubQuotas) SetDeletedAt(DeletedAt model.LocalTimeInt)
func (*HubQuotas) SetDeletedBy ¶
func (*HubQuotas) SetDescription ¶
func (*HubQuotas) SetDomainId ¶
func (*HubQuotas) SetEntityId ¶
func (*HubQuotas) SetFreeCharge ¶
func (*HubQuotas) SetGrantMark ¶
func (*HubQuotas) SetListOrder ¶
func (*HubQuotas) SetPartNumber ¶
func (*HubQuotas) SetPublishedAt ¶
func (entity *HubQuotas) SetPublishedAt(PublishedAt model.LocalTimeInt)
func (*HubQuotas) SetQuotaItemId ¶
func (*HubQuotas) SetQuotaQty ¶
func (*HubQuotas) SetScheduleUom ¶
func (*HubQuotas) SetShopSkuId ¶
func (*HubQuotas) SetUnlimited ¶
func (*HubQuotas) SetUpdatedAt ¶
func (entity *HubQuotas) SetUpdatedAt(UpdatedAt model.LocalTimeInt)
func (*HubQuotas) SetUpdatedById ¶
func (*HubQuotas) SetUpdatedUserId ¶
func (*HubQuotas) UnmarshalBy ¶
type HubQuotasVo ¶
type HubQuotasVo struct { /* */ Id int64 `gorm:"column:id;type:INT8;PRIMARY_KEY;default:unique_rowid()" json:"id,string"` /* */ ShopId int64 `gorm:"column:shop_id;type:INT8" json:"shop_id,string"` /* */ GrantMark string `gorm:"column:grant_mark;type:BOOL" json:"grant_mark"` /* */ FreeCharge string `gorm:"column:free_charge;type:BOOL" json:"free_charge"` /* */ Unlimited string `gorm:"column:unlimited;type:BOOL" json:"unlimited"` /* */ ScheduleUom int64 `gorm:"column:schedule_uom;type:INT8" json:"schedule_uom,string"` /* */ PartNumber string `gorm:"column:part_number;type:VARCHAR(255)" json:"part_number"` /* */ Code string `gorm:"column:code;type:VARCHAR(255)" json:"code"` /* */ SpuId int64 `gorm:"column:spu_id;type:INT8" json:"spu_id,string"` /* */ Description string `gorm:"column:description;type:STRING" json:"description"` /* */ ListOrder int64 `gorm:"column:list_order;type:INT8" json:"list_order,string"` /* */ Active string `gorm:"column:active;type:BOOL" json:"active"` /* */ DeletedAt model.LocalTimeInt `gorm:"column:deleted_at;type:TIMESTAMP(6)" json:"deleted_at"` /* */ DeletedBy int64 `gorm:"column:deleted_by;type:INT8" json:"deleted_by,string"` /* */ QuotaQty int64 `gorm:"column:quota_qty;type:INT8" json:"quota_qty,string"` /* */ Price float64 `gorm:"column:price;type:FLOAT8" json:"price"` /* */ SkuId int64 `gorm:"column:sku_id;type:INT8" json:"sku_id,string"` /* */ State int64 `gorm:"column:state;type:INT8" json:"state,string"` /* */ DomainId int64 `gorm:"column:domain_id;type:INT8" json:"domain_id,string"` /* */ EntityId int64 `gorm:"column:entity_id;type:INT8" json:"entity_id,string"` /* */ QuotaItemId int64 `gorm:"column:quota_item_id;type:INT8" json:"quota_item_id,string"` /* */ CurrencyId int64 `gorm:"column:currency_id;type:INT8" json:"currency_id,string"` /* */ ShopSkuId int64 `gorm:"column:shop_sku_id;type:INT8" json:"shop_sku_id,string"` /* */ BizAvabLineId int64 `gorm:"column:biz_avab_line_id;type:INT8" json:"biz_avab_line_id,string"` /* */ PublishedAt model.LocalTimeInt `gorm:"column:published_at;type:TIMESTAMP(6)" json:"published_at"` /* */ CreatedAt model.LocalTimeInt `gorm:"column:created_at;type:TIMESTAMP(6)" json:"created_at"` /* */ UpdatedAt model.LocalTimeInt `gorm:"column:updated_at;type:TIMESTAMP(6)" json:"updated_at"` /* */ CreatedById int64 `gorm:"column:created_by_id;type:INT8" json:"created_by_id,string"` /* */ UpdatedById int64 `gorm:"column:updated_by_id;type:INT8" json:"updated_by_id,string"` /* */ CreatedUserId int64 `gorm:"column:created_user_id;type:INT8" json:"created_user_id,string"` /* */ UpdatedUserId int64 `gorm:"column:updated_user_id;type:INT8" json:"updated_user_id,string"` }
type Joblevel ¶
type Joblevel struct { // JoblevelBase Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY" json:"id"` Name *string `gorm:"column:name;type:varchar(32)" json:"nName"` TitleLevel *string `gorm:"column:titleLevel;type:enum('正高级','副高级','中级','初级','员级')" json:"titleLevel"` CreateDate *basemodel.LocalDateInt `gorm:"column:createDate;type:timestamp" json:"createDate"` Enabled *int8 `gorm:"column:enabled;type:tinyint(1)" json:"enabled"` }
指定扩展结结构,单独存文件。生成时不会覆盖:
type JoblevelBase struct {}
type Nation ¶
type Nation struct { NationBase Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY" json:"id"` Name *string `gorm:"column:name;type:varchar(32)" json:"name"` }
type NationBase ¶
type NationBase struct{}
type NatsTopic ¶
type NatsTopic struct { /* */ Id *int64 `gorm:"column:id;type:INT8;PRIMARY_KEY" json:"id,string"` /* */ Topic *string `gorm:"column:topic;type:VARCHAR" json:"topic"` /* */ Version *string `gorm:"column:version;type:VARCHAR;default:\''V1':::STRING\'" json:"version"` }
func (*NatsTopic) GetVersion ¶
func (*NatsTopic) SetVersion ¶
func (*NatsTopic) UnmarshalBy ¶
type Politicsstatus ¶
type Politicsstatus struct { PoliticsstatusBase Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY" json:"id"` Name *string `gorm:"column:name;type:varchar(32)" json:"name"` }
func (*Politicsstatus) TableName ¶
func (*Politicsstatus) TableName() string
func (*Politicsstatus) ToString ¶
func (tmp *Politicsstatus) ToString() string
type PoliticsstatusBase ¶
type PoliticsstatusBase struct{}
type Position ¶
type Position struct { PositionBase Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY" json:"id"` Name *string `gorm:"column:name;type:varchar(32)" json:"name"` CreateDate *basemodel.LocalDateInt `gorm:"column:createDate;type:timestamp" json:"createDate"` Enabled *int8 `gorm:"column:enabled;type:tinyint(1)" json:"enabled"` }
type PositionBase ¶
type PositionBase struct{}
type TableName1 ¶
type TableName1 struct { /* */ Id *int64 `gorm:"column:id;type:INT8;PRIMARY_KEY" json:"id,string"` /* */ Rowid *int64 `gorm:"column:rowid;type:INT8" json:"rowid,string"` /* */ Vc *float64 `gorm:"column:vc;type:DECIMAL(22,2)" json:"vc"` /* */ Name *string `gorm:"column:name;type:VARCHAR(223)" json:"name"` /* */ Adate *model.LocalDateInt `gorm:"column:adate;type:DATE" json:"adate"` /* */ Atimestamp *model.LocalTimeInt `gorm:"column:atimestamp;type:TIMESTAMP(6)" json:"atimestamp"` /* */ Adatetime *model.LocalTimeUTCInt `gorm:"column:adatetime;type:TIMESTAMPTZ(6)" json:"adatetime"` /* */ BitField *bool `gorm:"column:bit_field;type:BOOL" json:"bit_field"` }
func (*TableName1) GetAdate ¶
func (entity *TableName1) GetAdate() model.LocalDateInt
func (*TableName1) GetAdatetime ¶
func (entity *TableName1) GetAdatetime() model.LocalTimeUTCInt
func (*TableName1) GetAtimestamp ¶
func (entity *TableName1) GetAtimestamp() model.LocalTimeInt
func (*TableName1) GetBitField ¶
func (entity *TableName1) GetBitField() bool
func (*TableName1) GetId ¶
func (entity *TableName1) GetId() int64
func (*TableName1) GetName ¶
func (entity *TableName1) GetName() string
func (*TableName1) GetRowid ¶
func (entity *TableName1) GetRowid() int64
func (*TableName1) GetVc ¶
func (entity *TableName1) GetVc() float64
func (*TableName1) Ini ¶
func (entity *TableName1) Ini(iniPk bool) *TableName1
iniPk bool:是否初始化主键Id 初始化指针
func (*TableName1) IniNil ¶
func (entity *TableName1) IniNil(iniPk bool) *TableName1
iniPk bool:是否初始化主键Id 初始化指针
func (*TableName1) SetAdate ¶
func (entity *TableName1) SetAdate(Adate model.LocalDateInt)
func (*TableName1) SetAdatetime ¶
func (entity *TableName1) SetAdatetime(Adatetime model.LocalTimeUTCInt)
func (*TableName1) SetAtimestamp ¶
func (entity *TableName1) SetAtimestamp(Atimestamp model.LocalTimeInt)
func (*TableName1) SetBitField ¶
func (entity *TableName1) SetBitField(BitField bool)
func (*TableName1) SetId ¶
func (entity *TableName1) SetId(Id int64)
func (*TableName1) SetName ¶
func (entity *TableName1) SetName(Name string)
func (*TableName1) SetRowid ¶
func (entity *TableName1) SetRowid(Rowid int64)
func (*TableName1) SetVc ¶
func (entity *TableName1) SetVc(Vc float64)
func (*TableName1) TableName ¶
func (entity *TableName1) TableName() string
gorm默认生成的表名是结构名+'s',所以必须以结构方法指定!
func (*TableName1) ToString ¶
func (entity *TableName1) ToString() string
func (*TableName1) Unmarshal ¶
func (entity *TableName1) Unmarshal(body string) error
func (*TableName1) UnmarshalBy ¶
func (entity *TableName1) UnmarshalBy(body []byte) error
type TableName2 ¶
type TableName2 struct { /* */ Id *int64 `gorm:"column:id;type:INT8;PRIMARY_KEY;default:nextval('public.table_name2_id_seq':::STRING)" json:"id,string"` /* */ Vc *float64 `gorm:"column:vc;type:DECIMAL" json:"vc"` /* */ Name *string `gorm:"column:name;type:STRING" json:"name"` /* */ Adate *model.LocalDateInt `gorm:"column:adate;type:DATE" json:"adate"` /* */ Atimestamp *model.LocalTimeInt `gorm:"column:atimestamp;type:TIMESTAMP" json:"atimestamp"` /* */ Adatetime *model.LocalTimeInt `gorm:"column:adatetime;type:TIMESTAMPTZ" json:"adatetime"` /* */ BitField *bool `gorm:"column:bit_field;type:BOOL" json:"bit_field"` /* */ Int4field *int64 `gorm:"column:int4field;type:INT8" json:"int4field,string"` /* */ DeletedAt *model.LocalTimeInt `gorm:"column:deleted_at;type:TIMESTAMP" json:"deleted_at"` /* */ TTime *string `gorm:"column:t_time;type:STRING;default:\''0':::STRING\'" json:"t_time"` /* */ Datefield *model.LocalDateInt `gorm:"column:datefield;type:DATE" json:"datefield"` /* */ Column13 *string `gorm:"column:column13;type:STRING" json:"column13"` /* */ Rowid *int64 `gorm:"column:rowid;type:INT;default:unique_rowid()" json:"rowid,string"` }
func (*TableName2) GetAdate ¶
func (entity *TableName2) GetAdate() model.LocalDateInt
func (*TableName2) GetAdatetime ¶
func (entity *TableName2) GetAdatetime() model.LocalTimeInt
func (*TableName2) GetAtimestamp ¶
func (entity *TableName2) GetAtimestamp() model.LocalTimeInt
func (*TableName2) GetBitField ¶
func (entity *TableName2) GetBitField() bool
func (*TableName2) GetColumn13 ¶
func (entity *TableName2) GetColumn13() string
func (*TableName2) GetDatefield ¶
func (entity *TableName2) GetDatefield() model.LocalDateInt
func (*TableName2) GetDeletedAt ¶
func (entity *TableName2) GetDeletedAt() model.LocalTimeInt
func (*TableName2) GetId ¶
func (entity *TableName2) GetId() int64
func (*TableName2) GetInt4field ¶
func (entity *TableName2) GetInt4field() int64
func (*TableName2) GetName ¶
func (entity *TableName2) GetName() string
func (*TableName2) GetRowid ¶
func (entity *TableName2) GetRowid() int64
func (*TableName2) GetTTime ¶
func (entity *TableName2) GetTTime() string
func (*TableName2) GetVc ¶
func (entity *TableName2) GetVc() float64
func (*TableName2) Ini ¶
func (entity *TableName2) Ini(iniPk bool) *TableName2
iniPk bool:是否初始化主键Id 初始化指针
func (*TableName2) IniNil ¶
func (entity *TableName2) IniNil(iniPk bool) *TableName2
iniPk bool:是否初始化主键Id 初始化指针
func (*TableName2) SetAdate ¶
func (entity *TableName2) SetAdate(Adate model.LocalDateInt)
func (*TableName2) SetAdatetime ¶
func (entity *TableName2) SetAdatetime(Adatetime model.LocalTimeInt)
func (*TableName2) SetAtimestamp ¶
func (entity *TableName2) SetAtimestamp(Atimestamp model.LocalTimeInt)
func (*TableName2) SetBitField ¶
func (entity *TableName2) SetBitField(BitField bool)
func (*TableName2) SetColumn13 ¶
func (entity *TableName2) SetColumn13(Column13 string)
func (*TableName2) SetDatefield ¶
func (entity *TableName2) SetDatefield(Datefield model.LocalDateInt)
func (*TableName2) SetDeletedAt ¶
func (entity *TableName2) SetDeletedAt(DeletedAt model.LocalTimeInt)
func (*TableName2) SetId ¶
func (entity *TableName2) SetId(Id int64)
func (*TableName2) SetInt4field ¶
func (entity *TableName2) SetInt4field(Int4field int64)
func (*TableName2) SetName ¶
func (entity *TableName2) SetName(Name string)
func (*TableName2) SetRowid ¶
func (entity *TableName2) SetRowid(Rowid int64)
func (*TableName2) SetTTime ¶
func (entity *TableName2) SetTTime(TTime string)
func (*TableName2) SetVc ¶
func (entity *TableName2) SetVc(Vc float64)
func (*TableName2) TableName ¶
func (entity *TableName2) TableName() string
gorm默认生成的表名是结构名+'s',所以必须以结构方法指定!
func (*TableName2) ToString ¶
func (entity *TableName2) ToString() string
func (*TableName2) Unmarshal ¶
func (entity *TableName2) Unmarshal(body string) error
type Topic ¶
type Topic struct { /* */ Id *int64 `gorm:"column:id;type:INT8;PRIMARY_KEY" json:"id,string"` /* */ Topic *string `gorm:"column:topic;type:VARCHAR" json:"topic"` /* */ Version *string `gorm:"column:version;type:VARCHAR;default:\''V1':::STRING\'" json:"version"` }
func (*Topic) GetVersion ¶
func (*Topic) SetVersion ¶
func (*Topic) UnmarshalBy ¶
type ViewEmployee ¶
type ViewEmployee struct { // ViewEmployeeBase // ModelBase /* 员工编号 */ Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY;COMMENT:'员工编号'" json:"Id"` /* 所属部门 */ DepartmentId *int32 `gorm:"column:departmentId;type:int(11);COMMENT:'所属部门'" json:"DepartmentId"` /* 员工姓名 */ Name *string `gorm:"column:name;type:varchar(16);COMMENT:'员工姓名'" json:"Name"` /* 性别 */ Gender *string `gorm:"column:gender;type:char(4);COMMENT:'性别'" json:"Gender"` /* 出生日期 */ Birthday *model.LocalDateInt `gorm:"column:birthday;type:date;COMMENT:'出生日期'" json:"Birthday"` /* 身份证号 */ IdCard *string `gorm:"column:idCard;type:char(18);COMMENT:'身份证号'" json:"IdCard"` /* 婚姻状况 */ Wedlock *string `gorm:"column:wedlock;type:varchar(8);COMMENT:'婚姻状况'" json:"Wedlock"` /* 民族 */ NationId *int32 `gorm:"column:nationId;type:int(8);COMMENT:'民族'" json:"NationId"` /* 籍贯 */ NativePlace *string `gorm:"column:nativePlace;type:varchar(20);COMMENT:'籍贯'" json:"NativePlace"` /* 政治面貌 */ PoliticId *int32 `gorm:"column:politicId;type:int(8);COMMENT:'政治面貌'" json:"PoliticId"` /* 邮箱 */ Email *string `gorm:"column:email;type:varchar(20);COMMENT:'邮箱'" json:"Email"` /* 电话号码 */ Phone *string `gorm:"column:phone;type:varchar(11);COMMENT:'电话号码'" json:"Phone"` /* 联系地址 */ Address *string `gorm:"column:address;type:varchar(64);COMMENT:'联系地址'" json:"Address"` /* 职称ID */ JobLevelId *int32 `gorm:"column:jobLevelId;type:int(11);COMMENT:'职称ID'" json:"JobLevelId"` /* 职位ID */ PosId *int32 `gorm:"column:posId;type:int(11);COMMENT:'职位ID'" json:"PosId"` /* 聘用形式 */ EngageForm *string `gorm:"column:engageForm;type:varchar(8);COMMENT:'聘用形式'" json:"EngageForm"` /* 最高学历 */ TiptopDegree *string `gorm:"column:tiptopDegree;type:varchar(8);COMMENT:'最高学历'" json:"TiptopDegree"` /* 所属专业 */ Specialty *string `gorm:"column:specialty;type:varchar(32);COMMENT:'所属专业'" json:"Specialty"` /* 毕业院校 */ School *string `gorm:"column:school;type:varchar(32);COMMENT:'毕业院校'" json:"School"` /* 入职日期 */ BeginDate *model.LocalDateInt `gorm:"column:beginDate;type:date;COMMENT:'入职日期'" json:"BeginDate"` /* 在职状态 */ WorkState *string `gorm:"column:workState;type:varchar(8);COMMENT:'在职状态'" json:"WorkState"` /* 工号 */ Code *string `gorm:"column:code;type:varchar(8);COMMENT:'工号'" json:"Code"` /* 合同期限 */ ContractTerm *float64 `gorm:"column:contractTerm;type:double;COMMENT:'合同期限'" json:"ContractTerm"` /* 转正日期 */ ConversionTime *model.LocalDateInt `gorm:"column:conversionTime;type:date;COMMENT:'转正日期'" json:"ConversionTime"` /* 离职日期 */ NotWorkDate *model.LocalDateInt `gorm:"column:notWorkDate;type:date;COMMENT:'离职日期'" json:"NotWorkDate"` /* 合同起始日期 */ BeginContract *model.LocalDateInt `gorm:"column:beginContract;type:date;COMMENT:'合同起始日期'" json:"BeginContract"` /* 合同终止日期 */ EndContract *model.LocalDateInt `gorm:"column:endContract;type:date;COMMENT:'合同终止日期'" json:"EndContract"` /* 工龄 */ WorkAge *int32 `gorm:"column:workAge;type:int(11);COMMENT:'工龄'" json:"WorkAge"` /* */ WorkId *string `gorm:"column:workId;type:varchar(16);COMMENT:''" json:"WorkId"` /* 部门名称 */ DepartmentName *string `gorm:"column:departmentName;type:varchar(32);COMMENT:'部门名称'" json:"DepartmentName"` }
ViewEmployee
指定扩展结结构,单独存文件。生成时不会覆盖: type ViewEmployeeBase struct {ModelBase}
VIEW
func (*ViewEmployee) GetAddress ¶
func (entity *ViewEmployee) GetAddress() string
func (*ViewEmployee) GetBeginContract ¶
func (entity *ViewEmployee) GetBeginContract() model.LocalDateInt
func (*ViewEmployee) GetBeginDate ¶
func (entity *ViewEmployee) GetBeginDate() model.LocalDateInt
func (*ViewEmployee) GetBirthday ¶
func (entity *ViewEmployee) GetBirthday() model.LocalDateInt
func (*ViewEmployee) GetCode ¶
func (entity *ViewEmployee) GetCode() string
func (*ViewEmployee) GetContractTerm ¶
func (entity *ViewEmployee) GetContractTerm() float64
func (*ViewEmployee) GetConversionTime ¶
func (entity *ViewEmployee) GetConversionTime() model.LocalDateInt
func (*ViewEmployee) GetDepartmentId ¶
func (entity *ViewEmployee) GetDepartmentId() int32
func (*ViewEmployee) GetDepartmentName ¶
func (entity *ViewEmployee) GetDepartmentName() string
func (*ViewEmployee) GetEmail ¶
func (entity *ViewEmployee) GetEmail() string
func (*ViewEmployee) GetEndContract ¶
func (entity *ViewEmployee) GetEndContract() model.LocalDateInt
func (*ViewEmployee) GetEngageForm ¶
func (entity *ViewEmployee) GetEngageForm() string
func (*ViewEmployee) GetGender ¶
func (entity *ViewEmployee) GetGender() string
func (*ViewEmployee) GetId ¶
func (entity *ViewEmployee) GetId() int32
func (*ViewEmployee) GetIdCard ¶
func (entity *ViewEmployee) GetIdCard() string
func (*ViewEmployee) GetJobLevelId ¶
func (entity *ViewEmployee) GetJobLevelId() int32
func (*ViewEmployee) GetNationId ¶
func (entity *ViewEmployee) GetNationId() int32
func (*ViewEmployee) GetNativePlace ¶
func (entity *ViewEmployee) GetNativePlace() string
func (*ViewEmployee) GetNotWorkDate ¶
func (entity *ViewEmployee) GetNotWorkDate() model.LocalDateInt
func (*ViewEmployee) GetPhone ¶
func (entity *ViewEmployee) GetPhone() string
func (*ViewEmployee) GetPoliticId ¶
func (entity *ViewEmployee) GetPoliticId() int32
func (*ViewEmployee) GetPosId ¶
func (entity *ViewEmployee) GetPosId() int32
func (*ViewEmployee) GetSchool ¶
func (entity *ViewEmployee) GetSchool() string
func (*ViewEmployee) GetSpecialty ¶
func (entity *ViewEmployee) GetSpecialty() string
func (*ViewEmployee) GetTiptopDegree ¶
func (entity *ViewEmployee) GetTiptopDegree() string
func (*ViewEmployee) GetWedlock ¶
func (entity *ViewEmployee) GetWedlock() string
func (*ViewEmployee) GetWorkAge ¶
func (entity *ViewEmployee) GetWorkAge() int32
func (*ViewEmployee) GetWorkId ¶
func (entity *ViewEmployee) GetWorkId() string
func (*ViewEmployee) GetWorkState ¶
func (entity *ViewEmployee) GetWorkState() string
func (*ViewEmployee) Ini ¶
func (entity *ViewEmployee) Ini(iniPk bool) *ViewEmployee
iniPk bool:是否初始化主键Id
func (*ViewEmployee) IniNil ¶
func (entity *ViewEmployee) IniNil(iniPk bool) *ViewEmployee
iniPk bool:是否初始化主键Id 初始化空指针
func (*ViewEmployee) SetAddress ¶
func (entity *ViewEmployee) SetAddress(Address string)
func (*ViewEmployee) SetBeginContract ¶
func (entity *ViewEmployee) SetBeginContract(BeginContract model.LocalDateInt)
func (*ViewEmployee) SetBeginDate ¶
func (entity *ViewEmployee) SetBeginDate(BeginDate model.LocalDateInt)
func (*ViewEmployee) SetBirthday ¶
func (entity *ViewEmployee) SetBirthday(Birthday model.LocalDateInt)
func (*ViewEmployee) SetCode ¶
func (entity *ViewEmployee) SetCode(Code string)
func (*ViewEmployee) SetContractTerm ¶
func (entity *ViewEmployee) SetContractTerm(ContractTerm float64)
func (*ViewEmployee) SetConversionTime ¶
func (entity *ViewEmployee) SetConversionTime(ConversionTime model.LocalDateInt)
func (*ViewEmployee) SetDepartmentId ¶
func (entity *ViewEmployee) SetDepartmentId(DepartmentId int32)
func (*ViewEmployee) SetDepartmentName ¶
func (entity *ViewEmployee) SetDepartmentName(DepartmentName string)
func (*ViewEmployee) SetEmail ¶
func (entity *ViewEmployee) SetEmail(Email string)
func (*ViewEmployee) SetEndContract ¶
func (entity *ViewEmployee) SetEndContract(EndContract model.LocalDateInt)
func (*ViewEmployee) SetEngageForm ¶
func (entity *ViewEmployee) SetEngageForm(EngageForm string)
func (*ViewEmployee) SetGender ¶
func (entity *ViewEmployee) SetGender(Gender string)
func (*ViewEmployee) SetId ¶
func (entity *ViewEmployee) SetId(Id int32)
func (*ViewEmployee) SetIdCard ¶
func (entity *ViewEmployee) SetIdCard(IdCard string)
func (*ViewEmployee) SetJobLevelId ¶
func (entity *ViewEmployee) SetJobLevelId(JobLevelId int32)
func (*ViewEmployee) SetName ¶
func (entity *ViewEmployee) SetName(Name string)
func (*ViewEmployee) SetNationId ¶
func (entity *ViewEmployee) SetNationId(NationId int32)
func (*ViewEmployee) SetNativePlace ¶
func (entity *ViewEmployee) SetNativePlace(NativePlace string)
func (*ViewEmployee) SetNotWorkDate ¶
func (entity *ViewEmployee) SetNotWorkDate(NotWorkDate model.LocalDateInt)
func (*ViewEmployee) SetPhone ¶
func (entity *ViewEmployee) SetPhone(Phone string)
func (*ViewEmployee) SetPoliticId ¶
func (entity *ViewEmployee) SetPoliticId(PoliticId int32)
func (*ViewEmployee) SetPosId ¶
func (entity *ViewEmployee) SetPosId(PosId int32)
func (*ViewEmployee) SetSchool ¶
func (entity *ViewEmployee) SetSchool(School string)
func (*ViewEmployee) SetSpecialty ¶
func (entity *ViewEmployee) SetSpecialty(Specialty string)
func (*ViewEmployee) SetTiptopDegree ¶
func (entity *ViewEmployee) SetTiptopDegree(TiptopDegree string)
func (*ViewEmployee) SetWedlock ¶
func (entity *ViewEmployee) SetWedlock(Wedlock string)
func (*ViewEmployee) SetWorkAge ¶
func (entity *ViewEmployee) SetWorkAge(WorkAge int32)
func (*ViewEmployee) SetWorkId ¶
func (entity *ViewEmployee) SetWorkId(WorkId string)
func (*ViewEmployee) SetWorkState ¶
func (entity *ViewEmployee) SetWorkState(WorkState string)
func (*ViewEmployee) TableName ¶
func (*ViewEmployee) TableName() string
gorm默认生成的表名是结构名+'s',所以必须以结构方法指定!
func (*ViewEmployee) ToString ¶
func (entity *ViewEmployee) ToString() string
func (*ViewEmployee) Unmarshal ¶
func (entity *ViewEmployee) Unmarshal(body string)