|
|
@@ -0,0 +1,84 @@
|
|
|
+package com.zsElectric.boot.business.model.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import lombok.Getter;
|
|
|
+import lombok.Setter;
|
|
|
+
|
|
|
+import java.io.Serial;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 策略费用实体
|
|
|
+ *
|
|
|
+ * @author system
|
|
|
+ * @since 2025-12-15
|
|
|
+ */
|
|
|
+@TableName("c_policy_fee")
|
|
|
+@Getter
|
|
|
+@Setter
|
|
|
+public class PolicyFee implements Serializable {
|
|
|
+
|
|
|
+ @Serial
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键ID
|
|
|
+ */
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 站点信息ID(关联third_party_station_info表)
|
|
|
+ */
|
|
|
+ private Long stationInfoId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 策略明细ID(关联third_party_policy_info表)
|
|
|
+ */
|
|
|
+ private Long policyInfoId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 运营费
|
|
|
+ */
|
|
|
+ private BigDecimal opFee;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 综合销售费
|
|
|
+ */
|
|
|
+ private BigDecimal compSalesFee;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 销售类型(0-平台 1-企业 2-渠道方)
|
|
|
+ */
|
|
|
+ private Integer salesType;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 渠道方ID(销售类型为2时必填)关联c_third_party_info
|
|
|
+ */
|
|
|
+ private Long thirdPartyId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ @TableField(fill = FieldFill.INSERT)
|
|
|
+ private LocalDateTime createTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建人ID
|
|
|
+ */
|
|
|
+ @TableField(fill = FieldFill.INSERT)
|
|
|
+ private Long createBy;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 逻辑删除(0-未删除 1-已删除)
|
|
|
+ */
|
|
|
+ @TableLogic
|
|
|
+ private Integer isDeleted;
|
|
|
+}
|