# RevenueSegment.java

    package cloud.wconnect.rateshop.entity.revenue;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     *
     * </p>
     *
     * @author yyt
     * @since 2023-10-26
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("rvn_segment")
    public class RevenueSegment implements Serializable {

        private static final long serialVersionUID = 1L;

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

        /**
         * 资产id
         */
        @TableField("hotel_id")
        private Integer propertyId;

        /**
         * Segment名称
         */
        private String segment;

        /**
         * pms 系统报告中的Segment名称
         */
        @TableField("opera_segment")
        private String pmsSegment;

        /**
         * 创建时间
         */
        private Long createdTime;

        /**
         * 是否删除(0:否,1:是)
         */
        private Boolean isRemoved;

        /**
         * 删除时间
         */
        private Long removedTime;

        /**
         * 排序
         */
        private Integer sortNum;

    }