# RevenueCustomersRule.java

    package cloud.wconnect.rateshop.entity.revenue;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * 客源收入规则（包含：Group，Contract）
     * </p>
     *
     * @author yyt
     * @since 2024-04-09
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("revenue_customers_rule")
    public class RevenueCustomersRule implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 资产
         */
        private Integer propertyId;

        /**
         * 类型，2：Group，3：Contract
         */
        private Integer type;

        /**
         * 计算规则，例：A,B
         */
        private String rule;
    }