Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
4982d37e
Commit
4982d37e
authored
Dec 09, 2023
by
覃振观
👶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
23-12-9: 产品模块实体调整。
parent
c0f51d3f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1068 additions
and
0 deletions
+1068
-0
Product.java
...c/main/java/com/huigou/topsun/product/domain/Product.java
+348
-0
ProductProcess.java
...java/com/huigou/topsun/product/domain/ProductProcess.java
+166
-0
ProductRiskDescription.java
.../huigou/topsun/product/domain/ProductRiskDescription.java
+109
-0
ProductTechnology.java
...a/com/huigou/topsun/product/domain/ProductTechnology.java
+445
-0
No files found.
topsun/src/main/java/com/huigou/topsun/product/domain/Product.java
0 → 100644
View file @
4982d37e
package
com
.
huigou
.
topsun
.
product
.
domain
;
import
java.io.Serializable
;
import
java.util.Objects
;
import
javax.persistence.*
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
/**
* @author Tison
* 产品
*/
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
@Entity
@Table
(
name
=
"product"
)
public
class
Product
implements
Serializable
{
/**
* 产品ID
*/
@Id
@Column
(
name
=
"product_id"
,
nullable
=
false
,
length
=
32
)
private
String
productId
;
/**
* 产品名称
*/
@Column
(
name
=
"product_name"
,
nullable
=
true
,
length
=
128
)
private
String
productName
;
/**
* 产品类别
*/
@Column
(
name
=
"product_category_id"
,
nullable
=
true
)
private
Long
productCategoryId
;
/**
* 产品状态(码表status)
*/
@Column
(
name
=
"product_status"
,
nullable
=
true
,
length
=
32
)
private
String
productStatus
;
/**
* 产品计量单位
*/
@Column
(
name
=
"product_unit"
,
nullable
=
true
,
length
=
32
)
private
String
productUnit
;
/**
* 样品编号
*/
@Column
(
name
=
"product_sample_code"
,
nullable
=
true
,
length
=
32
)
private
String
productSampleCode
;
/**
* 品牌名称
*/
@Column
(
name
=
"brand_name"
,
nullable
=
true
,
length
=
128
)
private
String
brandName
;
/**
* 产品类型(prodcut_type)
*/
@Column
(
name
=
"product_type"
,
nullable
=
true
,
length
=
32
)
private
String
productType
;
/**
* 产品编码
*/
@Column
(
name
=
"product_code"
,
nullable
=
true
,
length
=
255
)
private
String
productCode
;
/**
* 尺码组id
*/
@Column
(
name
=
"product_size_group_id"
,
nullable
=
true
,
length
=
32
)
private
String
productSizeGroupId
;
/**
* 是否为唯一码产品
*/
@Column
(
name
=
"is_only_code"
,
nullable
=
true
,
length
=
1
)
private
String
isOnlyCode
;
/**
* 是否不考虑形体配色
*/
@Column
(
name
=
"is_body_color"
,
nullable
=
true
,
length
=
1
)
private
String
isBodyColor
;
/**
* 是否禁用
*/
@Column
(
name
=
"is_disable"
,
nullable
=
true
,
length
=
1
)
private
String
isDisable
;
/**
* 是否建立bom表
*/
@Column
(
name
=
"is_build_bom"
,
nullable
=
true
,
length
=
10
)
private
String
isBuildBom
;
/**
* 确认日期
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@Column
(
name
=
"confirm_date"
,
nullable
=
true
)
private
java
.
util
.
Date
confirmDate
;
/**
* 确认人
*/
@Column
(
name
=
"comfirm_person"
,
nullable
=
true
,
length
=
32
)
private
String
comfirmPerson
;
/**
* 是否免检
*/
@Column
(
name
=
"is_free_inspection"
,
nullable
=
true
,
length
=
10
)
private
String
isFreeInspection
;
/**
* 不要质量loss%
*/
@Column
(
name
=
"is_no_quality_loss"
,
nullable
=
true
,
length
=
255
)
private
String
isNoQualityLoss
;
/**
* 样品单号
*/
@Column
(
name
=
"sample_order_no"
,
nullable
=
true
,
length
=
255
)
private
String
sampleOrderNo
;
/**
* 库存编码
*/
@Column
(
name
=
"stock_no"
,
nullable
=
true
,
length
=
255
)
private
String
stockNo
;
/**
* 库存名称
*/
@Column
(
name
=
"stock_name"
,
nullable
=
true
,
length
=
255
)
private
String
stockName
;
/**
* 存档编号
*/
@Column
(
name
=
"file_no"
,
nullable
=
true
,
length
=
255
)
private
String
fileNo
;
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
{
return
true
;
}
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
{
return
false
;
}
Product
product
=
(
Product
)
o
;
return
Objects
.
equals
(
productId
,
product
.
productId
)
&&
Objects
.
equals
(
productName
,
product
.
productName
)
&&
Objects
.
equals
(
productCategoryId
,
product
.
productCategoryId
)
&&
Objects
.
equals
(
productStatus
,
product
.
productStatus
)
&&
Objects
.
equals
(
productUnit
,
product
.
productUnit
)
&&
Objects
.
equals
(
productSampleCode
,
product
.
productSampleCode
)
&&
Objects
.
equals
(
brandName
,
product
.
brandName
)
&&
Objects
.
equals
(
productType
,
product
.
productType
)
&&
Objects
.
equals
(
productCode
,
product
.
productCode
)
&&
Objects
.
equals
(
productSizeGroupId
,
product
.
productSizeGroupId
)
&&
Objects
.
equals
(
isOnlyCode
,
product
.
isOnlyCode
)
&&
Objects
.
equals
(
isBodyColor
,
product
.
isBodyColor
)
&&
Objects
.
equals
(
isDisable
,
product
.
isDisable
)
&&
Objects
.
equals
(
isBuildBom
,
product
.
isBuildBom
)
&&
Objects
.
equals
(
confirmDate
,
product
.
confirmDate
)
&&
Objects
.
equals
(
comfirmPerson
,
product
.
comfirmPerson
)
&&
Objects
.
equals
(
isFreeInspection
,
product
.
isFreeInspection
)
&&
Objects
.
equals
(
isNoQualityLoss
,
product
.
isNoQualityLoss
)
&&
Objects
.
equals
(
sampleOrderNo
,
product
.
sampleOrderNo
)
&&
Objects
.
equals
(
stockNo
,
product
.
stockNo
)
&&
Objects
.
equals
(
stockName
,
product
.
stockName
)
&&
Objects
.
equals
(
fileNo
,
product
.
fileNo
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
productId
,
productName
,
productCategoryId
,
productStatus
,
productUnit
,
productSampleCode
,
brandName
,
productType
,
productCode
,
productSizeGroupId
,
isOnlyCode
,
isBodyColor
,
isDisable
,
isBuildBom
,
confirmDate
,
comfirmPerson
,
isFreeInspection
,
isNoQualityLoss
,
sampleOrderNo
,
stockNo
,
stockName
,
fileNo
);
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
)
.
toString
();
}
public
String
getProductId
()
{
return
this
.
productId
;
}
public
void
setProductId
(
String
productId
)
{
this
.
productId
=
productId
;
}
public
String
getProductName
()
{
return
this
.
productName
;
}
public
void
setProductName
(
String
productName
)
{
this
.
productName
=
productName
;
}
public
Long
getProductCategoryId
()
{
return
this
.
productCategoryId
;
}
public
void
setProductCategoryId
(
Long
productCategoryId
)
{
this
.
productCategoryId
=
productCategoryId
;
}
public
String
getProductStatus
()
{
return
this
.
productStatus
;
}
public
void
setProductStatus
(
String
productStatus
)
{
this
.
productStatus
=
productStatus
;
}
public
String
getProductUnit
()
{
return
this
.
productUnit
;
}
public
void
setProductUnit
(
String
productUnit
)
{
this
.
productUnit
=
productUnit
;
}
public
String
getProductSampleCode
()
{
return
this
.
productSampleCode
;
}
public
void
setProductSampleCode
(
String
productSampleCode
)
{
this
.
productSampleCode
=
productSampleCode
;
}
public
String
getBrandName
()
{
return
this
.
brandName
;
}
public
void
setBrandName
(
String
brandName
)
{
this
.
brandName
=
brandName
;
}
public
String
getProductType
()
{
return
this
.
productType
;
}
public
void
setProductType
(
String
productType
)
{
this
.
productType
=
productType
;
}
public
String
getProductCode
()
{
return
this
.
productCode
;
}
public
void
setProductCode
(
String
productCode
)
{
this
.
productCode
=
productCode
;
}
public
String
getProductSizeGroupId
()
{
return
this
.
productSizeGroupId
;
}
public
void
setProductSizeGroupId
(
String
productSizeGroupId
)
{
this
.
productSizeGroupId
=
productSizeGroupId
;
}
public
String
getIsOnlyCode
()
{
return
this
.
isOnlyCode
;
}
public
void
setIsOnlyCode
(
String
isOnlyCode
)
{
this
.
isOnlyCode
=
isOnlyCode
;
}
public
String
getIsBodyColor
()
{
return
this
.
isBodyColor
;
}
public
void
setIsBodyColor
(
String
isBodyColor
)
{
this
.
isBodyColor
=
isBodyColor
;
}
public
String
getIsDisable
()
{
return
this
.
isDisable
;
}
public
void
setIsDisable
(
String
isDisable
)
{
this
.
isDisable
=
isDisable
;
}
public
String
getIsBuildBom
()
{
return
this
.
isBuildBom
;
}
public
void
setIsBuildBom
(
String
isBuildBom
)
{
this
.
isBuildBom
=
isBuildBom
;
}
public
java
.
util
.
Date
getConfirmDate
()
{
return
this
.
confirmDate
;
}
public
void
setConfirmDate
(
java
.
util
.
Date
confirmDate
)
{
this
.
confirmDate
=
confirmDate
;
}
public
String
getComfirmPerson
()
{
return
this
.
comfirmPerson
;
}
public
void
setComfirmPerson
(
String
comfirmPerson
)
{
this
.
comfirmPerson
=
comfirmPerson
;
}
public
String
getIsFreeInspection
()
{
return
this
.
isFreeInspection
;
}
public
void
setIsFreeInspection
(
String
isFreeInspection
)
{
this
.
isFreeInspection
=
isFreeInspection
;
}
public
String
getIsNoQualityLoss
()
{
return
this
.
isNoQualityLoss
;
}
public
void
setIsNoQualityLoss
(
String
isNoQualityLoss
)
{
this
.
isNoQualityLoss
=
isNoQualityLoss
;
}
public
String
getSampleOrderNo
()
{
return
this
.
sampleOrderNo
;
}
public
void
setSampleOrderNo
(
String
sampleOrderNo
)
{
this
.
sampleOrderNo
=
sampleOrderNo
;
}
public
String
getStockNo
()
{
return
this
.
stockNo
;
}
public
void
setStockNo
(
String
stockNo
)
{
this
.
stockNo
=
stockNo
;
}
public
String
getStockName
()
{
return
this
.
stockName
;
}
public
void
setStockName
(
String
stockName
)
{
this
.
stockName
=
stockName
;
}
public
String
getFileNo
()
{
return
this
.
fileNo
;
}
public
void
setFileNo
(
String
fileNo
)
{
this
.
fileNo
=
fileNo
;
}
}
topsun/src/main/java/com/huigou/topsun/product/domain/ProductProcess.java
0 → 100644
View file @
4982d37e
package
com
.
huigou
.
topsun
.
product
.
domain
;
import
java.io.Serializable
;
import
java.util.Objects
;
import
javax.persistence.*
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
/**
* @author Tison
* 产品工艺工序
*/
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
@Entity
@Table
(
name
=
"product_process"
)
public
class
ProductProcess
implements
Serializable
{
/**
* 产品工艺工序id
*/
@Id
@Column
(
name
=
"product_process_id"
,
nullable
=
false
,
length
=
32
)
private
String
productProcessId
;
/**
* 工艺id
*/
@Column
(
name
=
"product_technology_id"
,
nullable
=
true
,
length
=
32
)
private
String
productTechnologyId
;
/**
* 生成顺序
*/
@Column
(
name
=
"production_sequence"
,
nullable
=
true
)
private
Integer
productionSequence
;
/**
* 工序名称
*/
@Column
(
name
=
"process_name"
,
nullable
=
true
,
length
=
32
)
private
String
processName
;
/**
* 是否排期工序
*/
@Column
(
name
=
"is_schedule_process"
,
nullable
=
true
,
length
=
10
)
private
String
isScheduleProcess
;
/**
* 是否完成工序
*/
@Column
(
name
=
"is_finished_process"
,
nullable
=
true
,
length
=
10
)
private
String
isFinishedProcess
;
/**
* 工艺备注
*/
@Column
(
name
=
"process_remark"
,
nullable
=
true
,
length
=
255
)
private
String
processRemark
;
/**
* 完成时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@Column
(
name
=
"finished_time"
,
nullable
=
true
)
private
java
.
util
.
Date
finishedTime
;
/**
* 签字
*/
@Column
(
name
=
"signed"
,
nullable
=
true
,
length
=
255
)
private
String
signed
;
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
{
return
true
;
}
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
{
return
false
;
}
ProductProcess
that
=
(
ProductProcess
)
o
;
return
Objects
.
equals
(
productProcessId
,
that
.
productProcessId
)
&&
Objects
.
equals
(
productTechnologyId
,
that
.
productTechnologyId
)
&&
Objects
.
equals
(
productionSequence
,
that
.
productionSequence
)
&&
Objects
.
equals
(
processName
,
that
.
processName
)
&&
Objects
.
equals
(
isScheduleProcess
,
that
.
isScheduleProcess
)
&&
Objects
.
equals
(
isFinishedProcess
,
that
.
isFinishedProcess
)
&&
Objects
.
equals
(
processRemark
,
that
.
processRemark
)
&&
Objects
.
equals
(
finishedTime
,
that
.
finishedTime
)
&&
Objects
.
equals
(
signed
,
that
.
signed
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
productProcessId
,
productTechnologyId
,
productionSequence
,
processName
,
isScheduleProcess
,
isFinishedProcess
,
processRemark
,
finishedTime
,
signed
);
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
)
.
toString
();
}
public
String
getProductProcessId
()
{
return
this
.
productProcessId
;
}
public
void
setProductProcessId
(
String
productProcessId
)
{
this
.
productProcessId
=
productProcessId
;
}
public
String
getProductTechnologyId
()
{
return
this
.
productTechnologyId
;
}
public
void
setProductTechnologyId
(
String
productTechnologyId
)
{
this
.
productTechnologyId
=
productTechnologyId
;
}
public
Integer
getProductionSequence
()
{
return
this
.
productionSequence
;
}
public
void
setProductionSequence
(
Integer
productionSequence
)
{
this
.
productionSequence
=
productionSequence
;
}
public
String
getProcessName
()
{
return
this
.
processName
;
}
public
void
setProcessName
(
String
processName
)
{
this
.
processName
=
processName
;
}
public
String
getIsScheduleProcess
()
{
return
this
.
isScheduleProcess
;
}
public
void
setIsScheduleProcess
(
String
isScheduleProcess
)
{
this
.
isScheduleProcess
=
isScheduleProcess
;
}
public
String
getIsFinishedProcess
()
{
return
this
.
isFinishedProcess
;
}
public
void
setIsFinishedProcess
(
String
isFinishedProcess
)
{
this
.
isFinishedProcess
=
isFinishedProcess
;
}
public
String
getProcessRemark
()
{
return
this
.
processRemark
;
}
public
void
setProcessRemark
(
String
processRemark
)
{
this
.
processRemark
=
processRemark
;
}
public
java
.
util
.
Date
getFinishedTime
()
{
return
this
.
finishedTime
;
}
public
void
setFinishedTime
(
java
.
util
.
Date
finishedTime
)
{
this
.
finishedTime
=
finishedTime
;
}
public
String
getSigned
()
{
return
this
.
signed
;
}
public
void
setSigned
(
String
signed
)
{
this
.
signed
=
signed
;
}
}
topsun/src/main/java/com/huigou/topsun/product/domain/ProductRiskDescription.java
0 → 100644
View file @
4982d37e
package
com
.
huigou
.
topsun
.
product
.
domain
;
import
java.io.Serializable
;
import
java.util.Objects
;
import
javax.persistence.*
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
/**
* @author Tison
* 产品风险描述
*/
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
@Entity
@Table
(
name
=
"product_risk_description"
)
public
class
ProductRiskDescription
implements
Serializable
{
/**
* 产品风险描述id
*/
@Id
@Column
(
name
=
"product_risk_description_id"
,
nullable
=
false
,
length
=
32
)
private
String
productRiskDescriptionId
;
/**
* 产品id
*/
@Column
(
name
=
"product_id"
,
nullable
=
true
,
length
=
32
)
private
String
productId
;
/**
* 序号
*/
@Column
(
name
=
"sequence"
,
nullable
=
true
)
private
Integer
sequence
;
/**
* 内容
*/
@Column
(
name
=
"product_risk_description"
,
nullable
=
true
,
length
=
255
)
private
String
productRiskDescription
;
/**
* 等级
*/
@Column
(
name
=
"product_risk_level"
,
nullable
=
true
,
length
=
32
)
private
String
productRiskLevel
;
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
{
return
true
;
}
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
{
return
false
;
}
ProductRiskDescription
that
=
(
ProductRiskDescription
)
o
;
return
Objects
.
equals
(
productRiskDescriptionId
,
that
.
productRiskDescriptionId
)
&&
Objects
.
equals
(
productId
,
that
.
productId
)
&&
Objects
.
equals
(
sequence
,
that
.
sequence
)
&&
Objects
.
equals
(
productRiskDescription
,
that
.
productRiskDescription
)
&&
Objects
.
equals
(
productRiskLevel
,
that
.
productRiskLevel
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
productRiskDescriptionId
,
productId
,
sequence
,
productRiskDescription
,
productRiskLevel
);
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
)
.
toString
();
}
public
String
getProductRiskDescriptionId
()
{
return
this
.
productRiskDescriptionId
;
}
public
void
setProductRiskDescriptionId
(
String
productRiskDescriptionId
)
{
this
.
productRiskDescriptionId
=
productRiskDescriptionId
;
}
public
String
getProductId
()
{
return
this
.
productId
;
}
public
void
setProductId
(
String
productId
)
{
this
.
productId
=
productId
;
}
public
Integer
getSequence
()
{
return
this
.
sequence
;
}
public
void
setSequence
(
Integer
sequence
)
{
this
.
sequence
=
sequence
;
}
public
String
getProductRiskDescription
()
{
return
this
.
productRiskDescription
;
}
public
void
setProductRiskDescription
(
String
productRiskDescription
)
{
this
.
productRiskDescription
=
productRiskDescription
;
}
public
String
getProductRiskLevel
()
{
return
this
.
productRiskLevel
;
}
public
void
setProductRiskLevel
(
String
productRiskLevel
)
{
this
.
productRiskLevel
=
productRiskLevel
;
}
}
topsun/src/main/java/com/huigou/topsun/product/domain/ProductTechnology.java
0 → 100644
View file @
4982d37e
package
com
.
huigou
.
topsun
.
product
.
domain
;
import
java.io.Serializable
;
import
java.util.Objects
;
import
javax.persistence.*
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
/**
* @author Tison
* 产品工艺
*/
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
@Entity
@Table
(
name
=
"product_technology"
)
public
class
ProductTechnology
implements
Serializable
{
/**
* 产品工艺id
*/
@Id
@Column
(
name
=
"product_technology_id"
,
nullable
=
false
,
length
=
32
)
private
String
productTechnologyId
;
/**
* 产品id
*/
@Column
(
name
=
"product_id"
,
nullable
=
true
,
length
=
32
)
private
String
productId
;
/**
* 产品工艺制程
*/
@Column
(
name
=
"product_technology_name"
,
nullable
=
true
,
length
=
255
)
private
String
productTechnologyName
;
/**
* 产品性质
*/
@Column
(
name
=
"product_property"
,
nullable
=
true
,
length
=
32
)
private
String
productProperty
;
/**
* 工艺要求
*/
@Column
(
name
=
"product_technology_require"
,
nullable
=
true
,
length
=
32
)
private
String
productTechnologyRequire
;
/**
* 啤版编号
*/
@Column
(
name
=
"beer_plate_no"
,
nullable
=
true
,
length
=
32
)
private
String
beerPlateNo
;
/**
* 烫金版编号
*/
@Column
(
name
=
"gold_plate_no"
,
nullable
=
true
,
length
=
32
)
private
String
goldPlateNo
;
/**
* 模切版编号
*/
@Column
(
name
=
"die_cut_plate_no"
,
nullable
=
true
,
length
=
32
)
private
String
dieCutPlateNo
;
/**
* 铜版及树脂版编号
*/
@Column
(
name
=
"copperp_resin_late_no"
,
nullable
=
true
,
length
=
32
)
private
String
copperpResinLateNo
;
/**
* 网版编号
*/
@Column
(
name
=
"net_plate_no"
,
nullable
=
true
,
length
=
32
)
private
String
netPlateNo
;
/**
* 包装方式
*/
@Column
(
name
=
"package_style"
,
nullable
=
true
,
length
=
32
)
private
String
packageStyle
;
/**
* 物性测试
*/
@Column
(
name
=
"physical_test"
,
nullable
=
true
,
length
=
32
)
private
String
physicalTest
;
/**
* 化性测试
*/
@Column
(
name
=
"chemistry_test"
,
nullable
=
true
,
length
=
32
)
private
String
chemistryTest
;
/**
* 产品材质
*/
@Column
(
name
=
"product_material"
,
nullable
=
true
,
length
=
255
)
private
String
productMaterial
;
/**
* 塑胶袋结构
*/
@Column
(
name
=
"plastic_bag_structure"
,
nullable
=
true
,
length
=
255
)
private
String
plasticBagStructure
;
/**
* 铜版编号
*/
@Column
(
name
=
"copperp_no"
,
nullable
=
true
,
length
=
32
)
private
String
copperpNo
;
/**
* 色号卡
*/
@Column
(
name
=
"color_no_card"
,
nullable
=
true
,
length
=
32
)
private
String
colorNoCard
;
/**
* 模具编号
*/
@Column
(
name
=
"plate_no"
,
nullable
=
true
,
length
=
32
)
private
String
plateNo
;
/**
* 表面处理
*/
@Column
(
name
=
"surface_treatment"
,
nullable
=
true
,
length
=
32
)
private
String
surfaceTreatment
;
/**
* 产品描述
*/
@Column
(
name
=
"product_describe"
,
nullable
=
true
,
length
=
255
)
private
String
productDescribe
;
/**
* 产品正面
*/
@Column
(
name
=
"product_front"
,
nullable
=
true
,
length
=
255
)
private
String
productFront
;
/**
* 产品背面
*/
@Column
(
name
=
"product_opposite"
,
nullable
=
true
,
length
=
255
)
private
String
productOpposite
;
/**
* 风险描述(序号、内容、等级)
*/
@Column
(
name
=
"risk_description"
,
nullable
=
true
)
private
String
riskDescription
;
/**
* 是否附样图
*/
@Column
(
name
=
"have_drawing"
,
nullable
=
true
,
length
=
10
)
private
String
haveDrawing
;
/**
* 是否要鞋图
*/
@Column
(
name
=
"is_shoe_picture"
,
nullable
=
true
,
length
=
10
)
private
String
isShoePicture
;
/**
* 啤板模数
*/
@Column
(
name
=
"beer_plate_num"
,
nullable
=
true
)
private
Integer
beerPlateNum
;
/**
* 模切板模数
*/
@Column
(
name
=
"die_board_num"
,
nullable
=
true
)
private
Integer
dieBoardNum
;
/**
* 分切方向
*/
@Column
(
name
=
"cut_direction"
,
nullable
=
true
,
length
=
255
)
private
String
cutDirection
;
/**
* 海关商品编码
*/
@Column
(
name
=
"customs_commodity_code"
,
nullable
=
true
,
length
=
255
)
private
String
customsCommodityCode
;
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
{
return
true
;
}
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
{
return
false
;
}
ProductTechnology
that
=
(
ProductTechnology
)
o
;
return
Objects
.
equals
(
productTechnologyId
,
that
.
productTechnologyId
)
&&
Objects
.
equals
(
productId
,
that
.
productId
)
&&
Objects
.
equals
(
productTechnologyName
,
that
.
productTechnologyName
)
&&
Objects
.
equals
(
productProperty
,
that
.
productProperty
)
&&
Objects
.
equals
(
productTechnologyRequire
,
that
.
productTechnologyRequire
)
&&
Objects
.
equals
(
beerPlateNo
,
that
.
beerPlateNo
)
&&
Objects
.
equals
(
goldPlateNo
,
that
.
goldPlateNo
)
&&
Objects
.
equals
(
dieCutPlateNo
,
that
.
dieCutPlateNo
)
&&
Objects
.
equals
(
copperpResinLateNo
,
that
.
copperpResinLateNo
)
&&
Objects
.
equals
(
netPlateNo
,
that
.
netPlateNo
)
&&
Objects
.
equals
(
packageStyle
,
that
.
packageStyle
)
&&
Objects
.
equals
(
physicalTest
,
that
.
physicalTest
)
&&
Objects
.
equals
(
chemistryTest
,
that
.
chemistryTest
)
&&
Objects
.
equals
(
productMaterial
,
that
.
productMaterial
)
&&
Objects
.
equals
(
plasticBagStructure
,
that
.
plasticBagStructure
)
&&
Objects
.
equals
(
copperpNo
,
that
.
copperpNo
)
&&
Objects
.
equals
(
colorNoCard
,
that
.
colorNoCard
)
&&
Objects
.
equals
(
plateNo
,
that
.
plateNo
)
&&
Objects
.
equals
(
surfaceTreatment
,
that
.
surfaceTreatment
)
&&
Objects
.
equals
(
productDescribe
,
that
.
productDescribe
)
&&
Objects
.
equals
(
productFront
,
that
.
productFront
)
&&
Objects
.
equals
(
productOpposite
,
that
.
productOpposite
)
&&
Objects
.
equals
(
riskDescription
,
that
.
riskDescription
)
&&
Objects
.
equals
(
haveDrawing
,
that
.
haveDrawing
)
&&
Objects
.
equals
(
isShoePicture
,
that
.
isShoePicture
)
&&
Objects
.
equals
(
beerPlateNum
,
that
.
beerPlateNum
)
&&
Objects
.
equals
(
dieBoardNum
,
that
.
dieBoardNum
)
&&
Objects
.
equals
(
cutDirection
,
that
.
cutDirection
)
&&
Objects
.
equals
(
customsCommodityCode
,
that
.
customsCommodityCode
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
productTechnologyId
,
productId
,
productTechnologyName
,
productProperty
,
productTechnologyRequire
,
beerPlateNo
,
goldPlateNo
,
dieCutPlateNo
,
copperpResinLateNo
,
netPlateNo
,
packageStyle
,
physicalTest
,
chemistryTest
,
productMaterial
,
plasticBagStructure
,
copperpNo
,
colorNoCard
,
plateNo
,
surfaceTreatment
,
productDescribe
,
productFront
,
productOpposite
,
riskDescription
,
haveDrawing
,
isShoePicture
,
beerPlateNum
,
dieBoardNum
,
cutDirection
,
customsCommodityCode
);
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
)
.
toString
();
}
public
String
getProductTechnologyId
()
{
return
this
.
productTechnologyId
;
}
public
void
setProductTechnologyId
(
String
productTechnologyId
)
{
this
.
productTechnologyId
=
productTechnologyId
;
}
public
String
getProductId
()
{
return
this
.
productId
;
}
public
void
setProductId
(
String
productId
)
{
this
.
productId
=
productId
;
}
public
String
getProductTechnologyName
()
{
return
this
.
productTechnologyName
;
}
public
void
setProductTechnologyName
(
String
productTechnologyName
)
{
this
.
productTechnologyName
=
productTechnologyName
;
}
public
String
getProductProperty
()
{
return
this
.
productProperty
;
}
public
void
setProductProperty
(
String
productProperty
)
{
this
.
productProperty
=
productProperty
;
}
public
String
getProductTechnologyRequire
()
{
return
this
.
productTechnologyRequire
;
}
public
void
setProductTechnologyRequire
(
String
productTechnologyRequire
)
{
this
.
productTechnologyRequire
=
productTechnologyRequire
;
}
public
String
getBeerPlateNo
()
{
return
this
.
beerPlateNo
;
}
public
void
setBeerPlateNo
(
String
beerPlateNo
)
{
this
.
beerPlateNo
=
beerPlateNo
;
}
public
String
getGoldPlateNo
()
{
return
this
.
goldPlateNo
;
}
public
void
setGoldPlateNo
(
String
goldPlateNo
)
{
this
.
goldPlateNo
=
goldPlateNo
;
}
public
String
getDieCutPlateNo
()
{
return
this
.
dieCutPlateNo
;
}
public
void
setDieCutPlateNo
(
String
dieCutPlateNo
)
{
this
.
dieCutPlateNo
=
dieCutPlateNo
;
}
public
String
getCopperpResinLateNo
()
{
return
this
.
copperpResinLateNo
;
}
public
void
setCopperpResinLateNo
(
String
copperpResinLateNo
)
{
this
.
copperpResinLateNo
=
copperpResinLateNo
;
}
public
String
getNetPlateNo
()
{
return
this
.
netPlateNo
;
}
public
void
setNetPlateNo
(
String
netPlateNo
)
{
this
.
netPlateNo
=
netPlateNo
;
}
public
String
getPackageStyle
()
{
return
this
.
packageStyle
;
}
public
void
setPackageStyle
(
String
packageStyle
)
{
this
.
packageStyle
=
packageStyle
;
}
public
String
getPhysicalTest
()
{
return
this
.
physicalTest
;
}
public
void
setPhysicalTest
(
String
physicalTest
)
{
this
.
physicalTest
=
physicalTest
;
}
public
String
getChemistryTest
()
{
return
this
.
chemistryTest
;
}
public
void
setChemistryTest
(
String
chemistryTest
)
{
this
.
chemistryTest
=
chemistryTest
;
}
public
String
getProductMaterial
()
{
return
this
.
productMaterial
;
}
public
void
setProductMaterial
(
String
productMaterial
)
{
this
.
productMaterial
=
productMaterial
;
}
public
String
getPlasticBagStructure
()
{
return
this
.
plasticBagStructure
;
}
public
void
setPlasticBagStructure
(
String
plasticBagStructure
)
{
this
.
plasticBagStructure
=
plasticBagStructure
;
}
public
String
getCopperpNo
()
{
return
this
.
copperpNo
;
}
public
void
setCopperpNo
(
String
copperpNo
)
{
this
.
copperpNo
=
copperpNo
;
}
public
String
getColorNoCard
()
{
return
this
.
colorNoCard
;
}
public
void
setColorNoCard
(
String
colorNoCard
)
{
this
.
colorNoCard
=
colorNoCard
;
}
public
String
getPlateNo
()
{
return
this
.
plateNo
;
}
public
void
setPlateNo
(
String
plateNo
)
{
this
.
plateNo
=
plateNo
;
}
public
String
getSurfaceTreatment
()
{
return
this
.
surfaceTreatment
;
}
public
void
setSurfaceTreatment
(
String
surfaceTreatment
)
{
this
.
surfaceTreatment
=
surfaceTreatment
;
}
public
String
getProductDescribe
()
{
return
this
.
productDescribe
;
}
public
void
setProductDescribe
(
String
productDescribe
)
{
this
.
productDescribe
=
productDescribe
;
}
public
String
getProductFront
()
{
return
this
.
productFront
;
}
public
void
setProductFront
(
String
productFront
)
{
this
.
productFront
=
productFront
;
}
public
String
getProductOpposite
()
{
return
this
.
productOpposite
;
}
public
void
setProductOpposite
(
String
productOpposite
)
{
this
.
productOpposite
=
productOpposite
;
}
public
String
getRiskDescription
()
{
return
this
.
riskDescription
;
}
public
void
setRiskDescription
(
String
riskDescription
)
{
this
.
riskDescription
=
riskDescription
;
}
public
String
getHaveDrawing
()
{
return
this
.
haveDrawing
;
}
public
void
setHaveDrawing
(
String
haveDrawing
)
{
this
.
haveDrawing
=
haveDrawing
;
}
public
String
getIsShoePicture
()
{
return
this
.
isShoePicture
;
}
public
void
setIsShoePicture
(
String
isShoePicture
)
{
this
.
isShoePicture
=
isShoePicture
;
}
public
Integer
getBeerPlateNum
()
{
return
this
.
beerPlateNum
;
}
public
void
setBeerPlateNum
(
Integer
beerPlateNum
)
{
this
.
beerPlateNum
=
beerPlateNum
;
}
public
Integer
getDieBoardNum
()
{
return
this
.
dieBoardNum
;
}
public
void
setDieBoardNum
(
Integer
dieBoardNum
)
{
this
.
dieBoardNum
=
dieBoardNum
;
}
public
String
getCutDirection
()
{
return
this
.
cutDirection
;
}
public
void
setCutDirection
(
String
cutDirection
)
{
this
.
cutDirection
=
cutDirection
;
}
public
String
getCustomsCommodityCode
()
{
return
this
.
customsCommodityCode
;
}
public
void
setCustomsCommodityCode
(
String
customsCommodityCode
)
{
this
.
customsCommodityCode
=
customsCommodityCode
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment