package com.webmanage.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* 产品定价实体
|
*
|
* @author webmanage
|
* @date 2024-08-07
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@TableName("product_pricing")
|
public class ProductPricing implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 产品套件名称
|
*/
|
@TableField("suite_name")
|
private String suiteName;
|
|
/**
|
* 销售形式
|
*/
|
@TableField("sales_form")
|
private String salesForm;
|
|
/**
|
* 客户对象
|
*/
|
@TableField("customer_type")
|
private String customerType;
|
|
/**
|
* 账户数量
|
*/
|
@TableField("account_limit")
|
private String accountLimit;
|
|
/**
|
* 并发节点数
|
*/
|
@TableField("concurrent_nodes")
|
private String concurrentNodes;
|
|
/**
|
* 价格设置
|
*/
|
@TableField("price_type")
|
private String priceType;
|
|
/**
|
* 价格单位
|
*/
|
@TableField("price_unit")
|
private String priceUnit;
|
|
/**
|
* 货币价格值
|
*/
|
@TableField("currency_price")
|
private BigDecimal currencyPrice;
|
|
/**
|
* 积分价值
|
*/
|
@TableField("points_price")
|
private BigDecimal pointsPrice;
|
|
/**
|
* 启用状态
|
*/
|
@TableField("is_active")
|
private Boolean isActive;
|
|
/**
|
* 关联产品ID
|
*/
|
@TableField("product_id")
|
private Long productId;
|
|
/**
|
* 产品名称
|
*/
|
@TableField("product_name")
|
private String productName;
|
|
/**
|
* 产品提供者ID
|
*/
|
@TableField("provider_id")
|
private Long providerId;
|
|
/**
|
* 产品提供者名称
|
*/
|
@TableField("provider_name")
|
private String providerName;
|
|
/**
|
* 产品描述
|
*/
|
@TableField("description")
|
private String description;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "created_at", fill = FieldFill.INSERT)
|
private LocalDateTime createdAt;
|
|
/**
|
* 更新时间
|
*/
|
@TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updatedAt;
|
|
/**
|
* 创建人ID
|
*/
|
@TableField("created_by")
|
private Long createdBy;
|
|
/**
|
* 更新人ID
|
*/
|
@TableField("updated_by")
|
private Long updatedBy;
|
|
/**
|
* 逻辑删除
|
*/
|
@TableLogic
|
@TableField("deleted")
|
private Integer deleted;
|
}
|