|
|
package com.glxp.api.req.basic;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
import javax.validation.constraints.NotEmpty;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
@Data
|
|
|
public class AddDrugRequest {
|
|
|
|
|
|
/**
|
|
|
* 产品名称
|
|
|
*/
|
|
|
@JsonProperty("name")
|
|
|
@NotEmpty(message = "产品名称必填!")
|
|
|
private String name;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 生产企业
|
|
|
*/
|
|
|
@JsonProperty("manufactory")
|
|
|
@NotEmpty(message = "生产企业必填!")
|
|
|
private String manufactory;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 医疗器械注册人
|
|
|
*/
|
|
|
@JsonProperty("ylqxzcrbarmc")
|
|
|
private String ylqxzcrbarmc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 医保编码
|
|
|
*/
|
|
|
@JsonProperty("ybbm")
|
|
|
private String ybbm;
|
|
|
|
|
|
/**
|
|
|
* 统一社会信用号
|
|
|
*/
|
|
|
@JsonProperty("tyshxydm")
|
|
|
private String tyshxydm;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 产品描述
|
|
|
*/
|
|
|
@JsonProperty("cpms")
|
|
|
private String cpms;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private BigDecimal price;
|
|
|
|
|
|
|
|
|
|
|
|
//商品名称
|
|
|
private String spmc;
|
|
|
/**
|
|
|
* 包装单位
|
|
|
*/
|
|
|
private String packUnit;
|
|
|
|
|
|
/**
|
|
|
* 产品类型 1:药品 2:耗材
|
|
|
*/
|
|
|
@TableField(value = "productsType")
|
|
|
private Integer productsType;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 每个层级的单位(例如:箱,盒,支)
|
|
|
*/
|
|
|
@TableField(value = "levelUnit")
|
|
|
private String levelUnit;
|
|
|
|
|
|
/**
|
|
|
* 制剂单位
|
|
|
*/
|
|
|
@TableField(value = "prepnUnit")
|
|
|
private String prepnUnit;
|
|
|
|
|
|
/**
|
|
|
* 包装材质
|
|
|
*/
|
|
|
@TableField(value = "packMatrial")
|
|
|
private String packMatrial;
|
|
|
|
|
|
/**
|
|
|
* 使用属性
|
|
|
*/
|
|
|
@TableField(value = "useAttribute")
|
|
|
private String useAttribute;
|
|
|
|
|
|
/**
|
|
|
* 运输条件
|
|
|
*/
|
|
|
@TableField(value = "transportCondition")
|
|
|
private String transportCondition;
|
|
|
|
|
|
/**
|
|
|
* 存储条件
|
|
|
*/
|
|
|
@TableField(value = "storageCondition")
|
|
|
private String storageCondition;
|
|
|
|
|
|
/**
|
|
|
* 特殊分类码
|
|
|
*/
|
|
|
@TableField(value = "specialCode")
|
|
|
private String specialCode;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 有效期
|
|
|
*/
|
|
|
@TableField(value = "indate")
|
|
|
private Date indate;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 药品类型(详见码表) 1:特殊药品原料药,2:特殊药品制剂,3:普通药品,9:未分类
|
|
|
*/
|
|
|
@TableField(value = "physicType")
|
|
|
private Integer physicType;
|
|
|
|
|
|
|
|
|
/**
|
|
|
*制剂规格
|
|
|
*/
|
|
|
@TableField(value = "prepnSpec")
|
|
|
private String prepnSpec;
|
|
|
/**
|
|
|
* 药品分类
|
|
|
*/
|
|
|
@TableField(value = "majorType")
|
|
|
private Integer majorType;
|
|
|
|
|
|
/**
|
|
|
* 医保分类 1:甲类;2:乙类;3:丙类
|
|
|
*/
|
|
|
@TableField(value = "medicareType")
|
|
|
private Integer medicareType;
|
|
|
}
|