|
|
@@ -0,0 +1,59 @@
|
|
|
+package com.ydtech.modules.protocols.entity.po;
|
|
|
+
|
|
|
+import com.alibaba.fastjson.JSONArray;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.ydtech.modules.protocol.entity.po.PtlAreaLicense;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 协议费用与规则属性关联表
|
|
|
+ */
|
|
|
+@TableName(value = "ptl_agreement_product_costs_attr_link", autoResultMap = true)
|
|
|
+@Data
|
|
|
+@NoArgsConstructor
|
|
|
+@AllArgsConstructor
|
|
|
+public class PtlAgreementProductCostsAttrLink {
|
|
|
+
|
|
|
+ @TableId(value = "id", type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "费用id")
|
|
|
+ @TableField(value = "costs_id")
|
|
|
+ private String costsId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "属性id")
|
|
|
+ @TableField(value = "attr_id")
|
|
|
+ private String attrId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "属性编码")
|
|
|
+ @TableField(value = "attr_code")
|
|
|
+ private String attrCode;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "左操作数")
|
|
|
+ @TableField(value = "min")
|
|
|
+ private String min;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "左操作数数组")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String[] minArray;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "操作符")
|
|
|
+ @TableField(value = "operator")
|
|
|
+ private String operator;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "右操作数")
|
|
|
+ @TableField(value = "max")
|
|
|
+ private String max;
|
|
|
+
|
|
|
+ @TableField(exist = false)
|
|
|
+ private JSONArray dictLabal;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "关联属性使用")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private PtlAgreementProductCostsAttrLink children;
|
|
|
+}
|