package cn.iocoder.yudao.module.system.dal.dataobject.biz;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseNoDeleteDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 床位计划记录 DO
 */
@TableName("bed_plan_record")
@KeySequence("bed_plan_record_seq")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BedPlanRecordDO extends BaseNoDeleteDO implements Serializable{

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 楼栋id
     */
    private Long buildId;
    /**
     * 楼层id
     */
    private Long floorId;
    /**
     * 开始年月
     */
    private String beginYearMonth;
    /**
     * 结束年月
     */
    private String endYearMonth;
    /**
     * 床位数
     */
    private Integer bedCount;
    /**
     * 期数
     */
    private Integer planSeq;
    /**
     * 机构id
     */
    private Long tenantId;
}


