罗元桥
2021-08-05 cc1098fc00a50cb1591d182f04bc37066ff0a9e2
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComCvtServeDO.java
@@ -19,31 +19,58 @@
public class ComCvtServeDO implements Serializable {
    private static final long serialVersionUID = 6641346373561429677L;
    /**服务主键*/
    /**
     * 服务主键
     */
    private Long id;
    /**服务名称*/
    /**
     * 服务名称
     */
    private String serviceName;
    /**服务价格*/
    /**
     * 服务价格
     */
    private BigDecimal servicePrice;
    /**服务分类ID*/
    /**
     * 服务分类ID
     */
    private Long categoryId;
    /**服务描述*/
    /**
     * 服务描述
     */
    private String serviceDesc;
    /**所属商家ID*/
    /**
     * 所属商家ID
     */
    private Long businessId;
    /**备注*/
    /**
     * 备注
     */
    private String remark;
    /**创建人*/
    /**
     * 创建人
     */
    private Long createBy;
    /**创建时间*/
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
    public boolean equals(ComCvtServeDO obj) {
        return obj.getBusinessId() == this.getBusinessId()
                && obj.getCategoryId() == this.getCategoryId()
                && obj.getServiceName().equals(this.getServiceName())
                && obj.getServicePrice().compareTo(this.getServicePrice()) == 0
                && obj.getServiceDesc().equals(this.getServiceDesc())
                ;
    }
}