package com.jeeplus.hotelorder.room.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeeplus.core.domain.BaseEntity;
import com.jeeplus.core.query.Query;
import com.jeeplus.core.query.QueryType;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 房间类型实体
 * @author jeeplus
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "hotel_room_type")
public class HotelRoomType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 类型名称 */
    @Query(tableColumn = "name", type = QueryType.LIKE)
    private String name;

    /** 排序号 */
    private Integer sortOrder;

    /** 状态: ENABLED-启用, DISABLED-禁用 */
    @Query(tableColumn = "status", type = QueryType.EQ)
    private String status;
}
