Commit 825fa55e authored by 高滢's avatar 高滢

样品类型 常量描述

parent 94e7e79b
...@@ -24,6 +24,10 @@ import lombok.Data; ...@@ -24,6 +24,10 @@ import lombok.Data;
public class Sample extends BaseEntity public class Sample extends BaseEntity
{ {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
// 整车样品
public static final String SAMPLE_FLAG_CAR = "0";
// 零部件样品
public static final String SAMPLE_FLAG_PART = "1";
/** 主键 */ /** 主键 */
@ApiModelProperty("主键") @ApiModelProperty("主键")
...@@ -70,8 +74,8 @@ public class Sample extends BaseEntity ...@@ -70,8 +74,8 @@ public class Sample extends BaseEntity
@ApiModelProperty("生产企业") @ApiModelProperty("生产企业")
private String manufacturingEnterprise; private String manufacturingEnterprise;
/** 0:整车样品 1:零部件样品 */ /**样品类型 ['0'、'1']*/
@ApiModelProperty("0:整车样品 1:零部件样品") @ApiModelProperty(value = "样品类型 ", notes = "['0'、'1']")
private String flag; private String flag;
/** 生产企业名称*/ /** 生产企业名称*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment