2023-06-19 09:53:35 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								package gmodel
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-16 19:04:13 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								import (
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									"gorm.io/gorm"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								// fs_cloud_user_apply_back 该表废弃
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								type FsCloudUserApplyBack struct {
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-19 18:27:31 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									Id                    int64   `gorm:"primary_key;default:0;auto_increment;" json:"id"` //
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									UserHash              *string `gorm:"default:'';" json:"user_hash"`                    //
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									OrderDetailTemplateId *int64  `gorm:"default:0;" json:"order_detail_template_id"`      // 详情modelID
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									Num                   *int64  `gorm:"default:0;" json:"num"`                           // 发货数量
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									AddressTo             *string `gorm:"default:'';" json:"address_to"`                   // 收获地址
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									Ctime                 *int64  `gorm:"default:0;" json:"ctime"`                         // 添加时间
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									StorageFee            *int64  `gorm:"default:0;" json:"storage_fee"`                   // 存储费用
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									Status                *int64  `gorm:"default:0;" json:"status"`                        // 状态位 是否已发货 是否处理 是否删除 是否推送
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-16 19:04:13 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								type FsCloudUserApplyBackModel struct{ db *gorm.DB }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								func NewFsCloudUserApplyBackModel(db *gorm.DB) *FsCloudUserApplyBackModel {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									return &FsCloudUserApplyBackModel{db}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 |