正在显示
4 个修改的文件
包含
4 行增加
和
4 行删除
@@ -8,7 +8,7 @@ import ( | @@ -8,7 +8,7 @@ import ( | ||
8 | type CreditAccount struct { | 8 | type CreditAccount struct { |
9 | tableName string `comment:"账期结算单实体" pg:"credit_accounts,alias:credit_account"` | 9 | tableName string `comment:"账期结算单实体" pg:"credit_accounts,alias:credit_account"` |
10 | // 账期结算单ID | 10 | // 账期结算单ID |
11 | - CreditAccountId int64 `comment:"账期结算单ID" pg:"pk:credit_account_id"` | 11 | + CreditAccountId int64 `comment:"账期结算单ID" pg:",pk:credit_account_id"` |
12 | // 账期结算实付金额 | 12 | // 账期结算实付金额 |
13 | ActuallyPaidAmount float64 `comment:"账期结算实付金额"` | 13 | ActuallyPaidAmount float64 `comment:"账期结算实付金额"` |
14 | // 账期结算单号 | 14 | // 账期结算单号 |
@@ -8,7 +8,7 @@ import ( | @@ -8,7 +8,7 @@ import ( | ||
8 | type DividendsOrder struct { | 8 | type DividendsOrder struct { |
9 | tableName string `comment:"分红订单实体" pg:"dividends_orders,alias:dividends_order"` | 9 | tableName string `comment:"分红订单实体" pg:"dividends_orders,alias:dividends_order"` |
10 | // 分红订单ID | 10 | // 分红订单ID |
11 | - DividendsOrderId int64 `comment:"分红订单ID" pg:"pk:dividends_order_id"` | 11 | + DividendsOrderId int64 `comment:"分红订单ID" pg:",pk:dividends_order_id"` |
12 | // 分红订单号 | 12 | // 分红订单号 |
13 | DividendsOrderNumber string `comment:"分红订单号"` | 13 | DividendsOrderNumber string `comment:"分红订单号"` |
14 | // 分红订单原单号 | 14 | // 分红订单原单号 |
@@ -8,7 +8,7 @@ import ( | @@ -8,7 +8,7 @@ import ( | ||
8 | type DividendsReturnedOrder struct { | 8 | type DividendsReturnedOrder struct { |
9 | tableName string `comment:"分红退货单实体" pg:"dividends_returned_orders,alias:dividends_returned_order"` | 9 | tableName string `comment:"分红退货单实体" pg:"dividends_returned_orders,alias:dividends_returned_order"` |
10 | // 分红退货单记录ID | 10 | // 分红退货单记录ID |
11 | - DividendsReturnedOrderId int64 `comment:"分红退货单记录ID" pg:"pk:dividends_returned_order_id"` | 11 | + DividendsReturnedOrderId int64 `comment:"分红退货单记录ID" pg:",pk:dividends_returned_order_id"` |
12 | // 分红退货单号 | 12 | // 分红退货单号 |
13 | DividendsReturnedOrderNumber string `comment:"分红退货单号"` | 13 | DividendsReturnedOrderNumber string `comment:"分红退货单号"` |
14 | // 退货金额 | 14 | // 退货金额 |
@@ -5,7 +5,7 @@ import "time" | @@ -5,7 +5,7 @@ import "time" | ||
5 | type OrderGood struct { | 5 | type OrderGood struct { |
6 | tableName string `comment:"订单产品领域实体(包括分红订单、分红退货单)" pg:"order_goods,alias:order_good"` | 6 | tableName string `comment:"订单产品领域实体(包括分红订单、分红退货单)" pg:"order_goods,alias:order_good"` |
7 | // 订单产品 | 7 | // 订单产品 |
8 | - OrderGoodId int64 `comment:"订单产品" pg:"pk:order_good_id"` | 8 | + OrderGoodId int64 `comment:"订单产品" pg:",pk:order_good_id"` |
9 | // 订单产品金额 | 9 | // 订单产品金额 |
10 | OrderGoodAmount float64 `comment:"订单产品金额"` | 10 | OrderGoodAmount float64 `comment:"订单产品金额"` |
11 | // 订单产品名称 | 11 | // 订单产品名称 |
-
请 注册 或 登录 后发表评论