|
@@ -1,11 +1,10 @@
|
|
|
package com.trade.service.trade.salesorder.domain;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
-import com.trade.common.core.domain.BizBaseEntity;
|
|
|
-import java.io.Serializable;
|
|
|
+import com.trade.common.annotation.I18nField;
|
|
|
import java.math.BigDecimal;
|
|
|
-import java.time.LocalDateTime;
|
|
|
|
|
|
+import com.trade.common.core.domain.BizBaseI18nEntity;
|
|
|
import com.trade.service.trade.salesorder.constant.SaleOrderConstant;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Getter;
|
|
@@ -24,7 +23,7 @@ import javax.validation.constraints.NotNull;
|
|
|
@Getter
|
|
|
@Setter
|
|
|
@TableName("sales_order_goods")
|
|
|
-public class SalesOrderGoods extends BizBaseEntity {
|
|
|
+public class SalesOrderGoods extends BizBaseI18nEntity<SalesOrderGoods> {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
@ApiModelProperty(name = "saleOrderId", value = "销售订单ID")
|
|
@@ -38,12 +37,14 @@ public class SalesOrderGoods extends BizBaseEntity {
|
|
|
@NotNull(message = "HS CODE不能为空")
|
|
|
private String hsCode;
|
|
|
@ApiModelProperty(name = "declarationName", value = "报关品名")
|
|
|
+ @I18nField
|
|
|
private String declarationName;
|
|
|
@ApiModelProperty(name = "name", value = "商品名称")
|
|
|
@NotNull(message = "商品名称不能为空")
|
|
|
private String name;
|
|
|
@ApiModelProperty(name = "unit", value = "计量单位")
|
|
|
@NotNull(message = "计量单位不能为空")
|
|
|
+ @I18nField
|
|
|
private String unit;
|
|
|
@ApiModelProperty(name = "packingSpecifications", value = "包装规格")
|
|
|
@NotNull(message = "包装规格不能为空")
|