model

package
v0.0.0-...-76ecffb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const TableNameActionLog = "t_performance_action_log"
View Source
const TableNameAttachment = "t_performance_attachment"
View Source
const TableNameBail = "t_bail"
View Source
const TableNameCommission = "t_commission"
View Source
const TableNameCompanyCode = "t_shipping_company_code"
View Source
const TableNameContentMap = "t_content_map"
View Source
const TableNameDetailTemplate = "t_surcharge_detail_template"
View Source
const TableNameHarbor = "t_route_harbor"
View Source
const TableNameNode = "t_performance_node"
View Source
const TableNamePerformanceGoods = "t_performance_goods_info"
View Source
const TableNamePerformanceInfo = "t_performance_info"
View Source
const TableNameRoute = "t_route"
View Source
const TableNameShippingConditions = "t_shipping_conditions"
View Source
const TableNameShippingSchedule = "t_shipping_schedule"
View Source
const TableNameSurchargeTemplate = "t_surcharge_template"
View Source
const TableNameWhitelist = "t_whitelist"

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionLog

type ActionLog struct {
	FID            int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`    // 自增主键
	FCreatedAt     time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`         // 创建时间
	FUpdatedAt     time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`         // 更新时间
	FDeleted       int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`               // 逻辑删除标识0-未删除,1-删除
	FAction        int32     `gorm:"column:f_action;not null" json:"f_action"`                 // 行为枚举值
	FActionContent string    `gorm:"column:f_action_content;not null" json:"f_action_content"` // 行为操作内容
	FOperatorID    int64     `gorm:"column:f_operator_id;not null" json:"f_operator_id"`       // 操作人id
	FPerformanceID int64     `gorm:"column:f_performance_id;not null" json:"f_performance_id"` // 履约id
	FActionID      int64     `gorm:"column:f_action_id;not null" json:"f_action_id"`           // 行为id
}

ActionLog mapped from table <t_performance_action_log>

func (*ActionLog) TableName

func (*ActionLog) TableName() string

TableName ActionLog's table name

type Attachment

type Attachment struct {
	FID            int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`
	FCreatedAt     time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`         // 创建时间
	FUpdatedAt     time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`         // 更新时间
	FDeleted       int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`               // 删除标识0-未删除,1-删除
	FName          string    `gorm:"column:f_name;not null" json:"f_name"`                     // 附件名称
	FOperatorID    int64     `gorm:"column:f_operator_id;not null" json:"f_operator_id"`       // 操作人id
	FOperatorName  string    `gorm:"column:f_operator_name;not null" json:"f_operator_name"`   // 操作人名称
	FPerformanceID int64     `gorm:"column:f_performance_id;not null" json:"f_performance_id"` // 履约单id
	FType          int32     `gorm:"column:f_type;not null" json:"f_type"`                     // 附件类型
	FAddress       string    `gorm:"column:f_address;not null" json:"f_address"`               // 附件链接地址
}

Attachment mapped from table <t_performance_attachment>

func (*Attachment) TableName

func (*Attachment) TableName() string

TableName Attachment's table name

type Bail

type Bail struct {
	FID           int64     `gorm:"column:f_id;primaryKey" json:"f_id"`                     // 自增主键
	FCreatedAt    time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`       // 创建时间
	FUpdatedAt    time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`       // 更新时间
	FDeleted      int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`             // 删除:0-未删除,1-删除
	FCurrency     float64   `gorm:"column:f_currency;not null" json:"f_currency"`           // 保证金
	FCurrencyType int32     `gorm:"column:f_currency_type;not null" json:"f_currency_type"` // 货币类型
	FEnable       int32     `gorm:"column:f_enable;not null" json:"f_enable"`               // 保证金是否生效,0-生效,1-不生效
	FBailID       int64     `gorm:"column:f_bail_id;not null" json:"f_bail_id"`             // 保证金id
}

Bail mapped from table <t_bail>

func (*Bail) TableName

func (*Bail) TableName() string

TableName Bail's table name

type Commission

type Commission struct {
	FID           int64     `gorm:"column:f_id;primaryKey" json:"f_id"`                     // 自增主键
	FCreatedAt    time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`       // 创建时间
	FUpdatedAt    time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`       // 更新时间
	FDeleted      int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`             // 逻辑删除:0-未删除,1-删除
	FEnterpriseID int64     `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"` // 企业id:0-平台
	FScopeType    int32     `gorm:"column:f_scope_type;not null" json:"f_scope_type"`       // 抽佣适用对象:1-平台,2-具体卖家
	FCurrencyType int32     `gorm:"column:f_currency_type;not null" json:"f_currency_type"` // 货币类型
	FCurrency     float64   `gorm:"column:f_currency;not null" json:"f_currency"`           // 货币
	FEnable       int32     `gorm:"column:f_enable;not null" json:"f_enable"`               // 启动:0-生效,1-不生效
	FMethod       int32     `gorm:"column:f_method;not null" json:"f_method"`               // 商品费用抽佣类型:1-定额抽取,2-按比例抽取
	FRatio        int32     `gorm:"column:f_ratio;not null" json:"f_ratio"`                 // 比例抽取百分比
	FThreshold    float64   `gorm:"column:f_threshold;not null" json:"f_threshold"`         // 最小兜底值
	FPayChannel   int16     `gorm:"column:f_pay_channel;not null" json:"f_pay_channel"`     // 支付渠道:0-线上,1-线下
}

Commission mapped from table <t_commission>

func (*Commission) TableName

func (*Commission) TableName() string

TableName Commission's table name

type CompanyCode

type CompanyCode struct {
	FID             int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`      // 自增主键
	FEnterpriseID   int64     `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"`     // 公司名称
	FNameZh         string    `gorm:"column:f_name_zh;not null" json:"f_name_zh"`                 // 中文名
	FNameEn         string    `gorm:"column:f_name_en;not null" json:"f_name_en"`                 // 英文名
	FAbbreviationEn string    `gorm:"column:f_abbreviation_en;not null" json:"f_abbreviation_en"` // 缩写英文
	FCode           string    `gorm:"column:f_code;not null" json:"f_code"`                       // 我方船公司代码
	FInttraCode     string    `gorm:"column:f_inttra_code;not null" json:"f_inttra_code"`         // inttra 船公司代码
	FAbbreviationZh string    `gorm:"column:f_abbreviation_zh;not null" json:"f_abbreviation_zh"` // 缩写中文
	FCreatedAt      time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`           // 创建时间
	FUpdatedAt      time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`           // 更新时间
	FDeleted        int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`                 // 是否删除0 未删除 1 已经删除
}

CompanyCode mapped from table <t_shipping_company_code>

func (*CompanyCode) TableName

func (*CompanyCode) TableName() string

TableName CompanyCode's table name

type ContentMap

type ContentMap struct {
	FID        int64     `gorm:"column:f_id;primaryKey" json:"f_id"`                          // 自增主键
	FCreatedAt time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`            // 创建时间
	FUpdatedAt time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`            // 更新时间
	FDeleted   int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`                  // 逻辑删除字段0-未删除,1-删除
	FType      int32     `gorm:"column:f_type;not null" json:"f_type"`                        // 内容类型
	FContent   string    `gorm:"column:f_content;not null;default:''::text" json:"f_content"` // 映射内容,具体格式不限制
	FContentID int64     `gorm:"column:f_content_id;not null" json:"f_content_id"`            // 业务主键id
}

ContentMap mapped from table <t_content_map>

func (*ContentMap) TableName

func (*ContentMap) TableName() string

TableName ContentMap's table name

type DetailTemplate

type DetailTemplate struct {
	FID                 int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`                // 自增id
	FCreatedAt          time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`                     // 创建时间
	FUpdatedAt          time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`                     // 更新时间
	FDeletedAt          time.Time `gorm:"column:f_deleted_at" json:"f_deleted_at"`                              // 删除时间
	FDeleted            int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`                           // 逻辑删除标识0-未删除,1-删除
	FSurchargeID        int64     `gorm:"column:f_surcharge_id;not null" json:"f_surcharge_id"`                 // 附加费id
	FSurchargeEntryID   int64     `gorm:"column:f_surcharge_entry_id;not null" json:"f_surcharge_entry_id"`     // 附加费类型id
	FSurchargeEntryName string    `gorm:"column:f_surcharge_entry_name;not null" json:"f_surcharge_entry_name"` // 附加费类型名称
	FType               int32     `gorm:"column:f_type;not null" json:"f_type"`                                 // 费用项类型(每票/每柜)
	FCurrencyType       int32     `gorm:"column:f_currency_type;not null" json:"f_currency_type"`               // 单价的货币类型
	FCurrencyValue      float64   `gorm:"column:f_currency_value;not null" json:"f_currency_value"`             // 单价的货币值
	FRemark             string    `gorm:"column:f_remark;default:''::character varying" json:"f_remark"`        // 备注
	FBoxTypeID          int64     `gorm:"column:f_box_type_id" json:"f_box_type_id"`                            // 箱型id
	FBoxTypeName        string    `gorm:"column:f_box_type_name" json:"f_box_type_name"`                        // 箱型名称
	FEnterpriseID       int64     `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"`               // 企业id
}

DetailTemplate mapped from table <t_surcharge_detail_template>

func (*DetailTemplate) TableName

func (*DetailTemplate) TableName() string

TableName DetailTemplate's table name

type Harbor

type Harbor struct {
	FID           int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`
	FCreatedAt    time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`         // 创建时间
	FUpdatedAt    time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`         // 更新时间
	FDeleted      int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`               // 删除标识0-未删除,1-删除
	FRouteID      int64     `gorm:"column:f_route_id;not null" json:"f_route_id"`             // 线路id
	FHarborID     int64     `gorm:"column:f_harbor_id;not null" json:"f_harbor_id"`           // 港口id
	FRouteGroupID int64     `gorm:"column:f_route_group_id;not null" json:"f_route_group_id"` // 航线组id
	FEnterpriseID int64     `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"`   // 企业id
}

Harbor mapped from table <t_route_harbor>

func (*Harbor) TableName

func (*Harbor) TableName() string

TableName Harbor's table name

type Node

type Node struct {
	FID            int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`    // 自增id
	FCreatedAt     time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`         // 创建时间
	FUpdatedAt     time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`         // 更新时间
	FDeletedAt     time.Time `gorm:"column:f_deleted_at" json:"f_deleted_at"`                  // 删除时间
	FDeleted       int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`               // 删除标识0-未删除,1-删除
	FPerformanceID int64     `gorm:"column:f_performance_id;not null" json:"f_performance_id"` // 履约单号id
	FNode          int32     `gorm:"column:f_node;not null" json:"f_node"`                     // 履约节点
	FActionID      int64     `gorm:"column:f_action_id;not null" json:"f_action_id"`           // 行为id
}

Node mapped from table <t_performance_node>

func (*Node) TableName

func (*Node) TableName() string

TableName Node's table name

type PerformanceGoods

type PerformanceGoods struct {
	FID                    int64     `gorm:"column:f_id;not null" json:"f_id"`
	FCreatedAt             time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`
	FUpdatedAt             time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`
	FDeletedAt             time.Time `gorm:"column:f_deleted_at" json:"f_deleted_at"`
	FDeleted               int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`
	FPerformanceID         int64     `gorm:"column:f_performance_id;not null" json:"f_performance_id"`
	FAddressForNotifier    string    `gorm:"column:f_address_for_notifier;default:''::character varying" json:"f_address_for_notifier"`
	FAddressForReceiver    string    `gorm:"column:f_address_for_receiver;default:''::character varying" json:"f_address_for_receiver"`
	FAddressForSender      string    `gorm:"column:f_address_for_sender;default:''::character varying" json:"f_address_for_sender"`
	FContactForNotifier    string    `gorm:"column:f_contact_for_notifier;default:''::character varying" json:"f_contact_for_notifier"`
	FContactForReceiver    string    `gorm:"column:f_contact_for_receiver;default:''::character varying" json:"f_contact_for_receiver"`
	FContactForSender      string    `gorm:"column:f_contact_for_sender;default:''::character varying" json:"f_contact_for_sender"`
	FEnglishDesc           string    `gorm:"column:f_english_desc;default:''::character varying" json:"f_english_desc"`
	FAddressForNotifierSec string    `gorm:"column:f_address_for_notifier_sec;default:''::character varying" json:"f_address_for_notifier_sec"`
	FNameForNotifierSec    string    `gorm:"column:f_name_for_notifier_sec;default:''::character varying" json:"f_name_for_notifier_sec"`
	FGoodsRemark           string    `gorm:"column:f_goods_remark;default:''::character varying" json:"f_goods_remark"`
	FGrossWeight           string    `gorm:"column:f_gross_weight" json:"f_gross_weight"`
	FMeasurement           string    `gorm:"column:f_measurement" json:"f_measurement"`
	FNameForNotifier       string    `gorm:"column:f_name_for_notifier;default:''::character varying" json:"f_name_for_notifier"`
	FNameForReceiver       string    `gorm:"column:f_name_for_receiver;default:''::character varying" json:"f_name_for_receiver"`
	FNameForSender         string    `gorm:"column:f_name_for_sender;default:''::character varying" json:"f_name_for_sender"`
	FNumberOf              string    `gorm:"column:f_number_of" json:"f_number_of"`
	FPackageUnit           string    `gorm:"column:f_package_unit;default:''::character varying" json:"f_package_unit"`
	FStockUptime           time.Time `gorm:"column:f_stock_uptime" json:"f_stock_uptime"`
	FBillType              int32     `gorm:"column:f_bill_type" json:"f_bill_type"`
	FTransportMode         int32     `gorm:"column:f_transport_mode" json:"f_transport_mode"`
	FPaymentMode           int32     `gorm:"column:f_payment_mode" json:"f_payment_mode"`
	FBilNumber             string    `gorm:"column:f_bil_number" json:"f_bil_number"`
	FReleaseType           int32     `gorm:"column:f_release_type" json:"f_release_type"`
}

PerformanceGoods mapped from table <t_performance_goods_info>

func (*PerformanceGoods) TableName

func (*PerformanceGoods) TableName() string

TableName PerformanceGoods's table name

type PerformanceInfo

type PerformanceInfo struct {
	FID                     int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`                          // 自增id
	FCreatedAt              time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`                               // 创建时间
	FUpdatedAt              time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`                               // 更新时间
	FDeletedAt              time.Time `gorm:"column:f_deleted_at" json:"f_deleted_at"`                                        // 删除时间
	FDeleted                int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`                                     // 删除标识0-未删除,1-删除
	FOrderID                int64     `gorm:"column:f_order_id;not null" json:"f_order_id"`                                   // 订单id
	FOrderNo                string    `gorm:"column:f_order_no;not null" json:"f_order_no"`                                   // 订单号
	FPerformanceID          int64     `gorm:"column:f_performance_id;not null" json:"f_performance_id"`                       // 履约单id
	FBuyerCompanyID         int64     `gorm:"column:f_buyer_company_id;not null" json:"f_buyer_company_id"`                   // 买家企业id
	FEnterpriseID           int64     `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"`                         // 卖家企业id
	FCommodityItemID        int64     `gorm:"column:f_commodity_item_id;not null" json:"f_commodity_item_id"`                 // 商品item id
	FCommodityItemVersionID int64     `gorm:"column:f_commodity_item_version_id;not null" json:"f_commodity_item_version_id"` // 商品版本id
	FStatus                 int32     `gorm:"column:f_status;not null" json:"f_status"`                                       // 履约单状态
	FBuyerBusinessName      string    `gorm:"column:f_buyer_business_name;not null" json:"f_buyer_business_name"`             // 买家企业用户名称
	FBusinessName           string    `gorm:"column:f_business_name;not null" json:"f_business_name"`                         // 卖家企业用户名称
	FPayStatus              int16     `gorm:"column:f_pay_status;not null;default:1" json:"f_pay_status"`                     // 履约单支付状态    1;//处理中2;//支付成功 3;//支付失败4;//支付关闭
}

PerformanceInfo mapped from table <t_performance_info>

func (*PerformanceInfo) TableName

func (*PerformanceInfo) TableName() string

TableName PerformanceInfo's table name

type Route

type Route struct {
	FID                   int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`
	FCreatedAt            time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`                         // 创建时间
	FUpdatedAt            time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`                         // 更新时间
	FShippingCompanyGroup string    `gorm:"column:f_shipping_company_group;not null" json:"f_shipping_company_group"` // 船司集合
	FDepartPortGroup      string    `gorm:"column:f_depart_port_group;not null" json:"f_depart_port_group"`           // 出发港口集合
	FArrivePortGroup      string    `gorm:"column:f_arrive_port_group;not null" json:"f_arrive_port_group"`           // 目的港口集合
	FBoxTypeGroup         string    `gorm:"column:f_box_type_group;not null" json:"f_box_type_group"`                 // 箱形集合
	FDeleted              int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`                               // 逻辑删除0-未删除,1-删除
	FRouteID              int64     `gorm:"column:f_route_id;not null" json:"f_route_id"`                             // 路线id
	FName                 string    `gorm:"column:f_name;not null" json:"f_name"`                                     // 线路名称
	FEnterpriseID         int64     `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"`                   // 企业id
}

Route mapped from table <t_route>

func (*Route) TableName

func (*Route) TableName() string

TableName Route's table name

type ShippingConditions

type ShippingConditions struct {
	FID              int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`        // 主键自增
	FScacs           string    `gorm:"column:f_scacs" json:"f_scacs"`                                // 查询船公司
	FSearchDate      string    `gorm:"column:f_search_date" json:"f_search_date"`                    // 有效期开始
	FOriginPort      string    `gorm:"column:f_origin_port;not null" json:"f_origin_port"`           // 起始港code
	FDestinationPort string    `gorm:"column:f_destination_port;not null" json:"f_destination_port"` // 目的港code
	FWeeksOut        string    `gorm:"column:f_weeks_out;not null;default:8" json:"f_weeks_out"`     // 查询周数
	FCreatedAt       time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`             // 创建时间
	FUpdatedAt       time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`             // 更新时间
	FDeleted         int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`                   // 是否已经删除 0 未删除 1已经删除
	FIsTransit       int16     `gorm:"column:f_is_transit" json:"f_is_transit"`                      // 是否中转0  不中转 1 中转 2 全部查
	FDeletedAt       time.Time `gorm:"column:f_deleted_at" json:"f_deleted_at"`
}

ShippingConditions mapped from table <t_shipping_conditions>

func (*ShippingConditions) TableName

func (*ShippingConditions) TableName() string

TableName ShippingConditions's table name

type ShippingSchedule

type ShippingSchedule struct {
	ID                            int64     `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`                                 // 自增主键
	FScac                         string    `gorm:"column:f_scac" json:"f_scac"`                                                       // 船公司简称
	FCarrierName                  string    `gorm:"column:f_carrier_name" json:"f_carrier_name"`                                       // 船公司
	FServiceName                  string    `gorm:"column:f_service_name" json:"f_service_name"`                                       // 服务名
	FVesselName                   string    `gorm:"column:f_vessel_name" json:"f_vessel_name"`                                         // 船名
	FVoyageNumber                 string    `gorm:"column:f_voyage_number" json:"f_voyage_number"`                                     // 航次
	FImoNumber                    string    `gorm:"column:f_imo_number" json:"f_imo_number"`                                           // imo号
	FOriginUnloc                  string    `gorm:"column:f_origin_unloc" json:"f_origin_unloc"`                                       // 起始港
	FOriginCountry                string    `gorm:"column:f_origin_country" json:"f_origin_country"`                                   // 起始国家code
	FOriginCityName               string    `gorm:"column:f_origin_city_name" json:"f_origin_city_name"`                               // 起始城市名
	FOriginSubdivision            string    `gorm:"column:f_origin_subdivision" json:"f_origin_subdivision"`                           // 起始省份
	FDestinationUnloc             string    `gorm:"column:f_destination_unloc" json:"f_destination_unloc"`                             // 目的港code
	FDestinationCountry           string    `gorm:"column:f_destination_country" json:"f_destination_country"`                         // 目的国家
	FDestinationSubdivision       string    `gorm:"column:f_destination_subdivision" json:"f_destination_subdivision"`                 // 目的省
	FDestinationCityName          string    `gorm:"column:f_destination_city_name" json:"f_destination_city_name"`                     // 目的城市名
	FTotalDuration                int32     `gorm:"column:f_total_duration" json:"f_total_duration"`                                   // 船期
	FScheduleType                 string    `gorm:"column:f_schedule_type" json:"f_schedule_type"`                                     // 船期类型
	FDeleted                      int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`                                        // 是否删除 0 未删除 1 已删除
	FType                         int16     `gorm:"column:f_type;not null;default:3" json:"f_type"`                                    // 数据类型 0 inttra 数据 1 手动录入数据 2 自动生成数据 3飞拓
	FOriginDepartureDate          time.Time `gorm:"column:f_origin_departure_date" json:"f_origin_departure_date"`                     // 离港时间
	FDestinationArrivalDate       time.Time `gorm:"column:f_destination_arrival_date" json:"f_destination_arrival_date"`               // 到港时间
	FEstimatedTerminalCutoff      time.Time `gorm:"column:f_estimated_terminal_cutoff" json:"f_estimated_terminal_cutoff"`             // 预估截港时间
	FCreatedAt                    time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`                                  // 创建时间
	FUpdatedAt                    time.Time `gorm:"column:f_updated_at" json:"f_updated_at"`                                           // 更新时间
	FDataJSON                     string    `gorm:"column:f_data_json" json:"f_data_json"`                                             // 第三方字段
	FRouteCode                    string    `gorm:"column:f_route_code" json:"f_route_code"`                                           // 航线代码
	FTerminalCutoff               time.Time `gorm:"column:f_terminal_cutoff" json:"f_terminal_cutoff"`                                 // 最终截港时间
	FWayID                        string    `gorm:"column:f_way_id;not null" json:"f_way_id"`                                          // 飞拓wayid
	FEstimatedOriginDepartureDate time.Time `gorm:"column:f_estimated_origin_departure_date" json:"f_estimated_origin_departure_date"` // 预估离港时间
	FDeletedAt                    time.Time `gorm:"column:f_deleted_at" json:"f_deleted_at"`
}

ShippingSchedule mapped from table <t_shipping_schedule>

func (*ShippingSchedule) TableName

func (*ShippingSchedule) TableName() string

TableName ShippingSchedule's table name

type SurchargeTemplate

type SurchargeTemplate struct {
	FID                   int64     `gorm:"column:f_id;primaryKey;autoIncrement:true" json:"f_id"`
	FCreatedAt            time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`
	FUpdatedAt            time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`
	FDeleted              int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`
	FSurchargeID          int64     `gorm:"column:f_surcharge_id;not null" json:"f_surcharge_id"`
	FName                 string    `gorm:"column:f_name;not null" json:"f_name"`                            // 模板名称
	FRouteGroup           string    `gorm:"column:f_route_group;not null" json:"f_route_group"`              // 路线组
	FHarborGroup          string    `gorm:"column:f_harbor_group;not null" json:"f_harbor_group"`            // 港口组
	FBoxGroup             string    `gorm:"column:f_box_group;not null" json:"f_box_group"`                  // 箱型组
	FEnterpriseID         int64     `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"`          // 企业id
	FShippingCompanyGroup string    `gorm:"column:f_shipping_company_group" json:"f_shipping_company_group"` // 船公司id组
}

SurchargeTemplate mapped from table <t_surcharge_template>

func (*SurchargeTemplate) TableName

func (*SurchargeTemplate) TableName() string

TableName SurchargeTemplate's table name

type Whitelist

type Whitelist struct {
	FID           int64     `gorm:"column:f_id;primaryKey" json:"f_id"`                     // 自增主键
	FCreatedAt    time.Time `gorm:"column:f_created_at;not null" json:"f_created_at"`       // 创建时间
	FUpdatedAt    time.Time `gorm:"column:f_updated_at;not null" json:"f_updated_at"`       // 更新时间
	FDeleted      int16     `gorm:"column:f_deleted;not null" json:"f_deleted"`             // 逻辑软删除 0-未删除,1-删除
	FEnable       int32     `gorm:"column:f_enable;not null" json:"f_enable"`               // 启动:0-启动,2-取消
	FEnterpriseID int64     `gorm:"column:f_enterprise_id;not null" json:"f_enterprise_id"` // 企业id
}

Whitelist mapped from table <t_whitelist>

func (*Whitelist) TableName

func (*Whitelist) TableName() string

TableName Whitelist's table name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL