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;

/**
 * 编制计划表 DO
 */
@TableName("staffing_plan_record")
@KeySequence("staffing_plan_record_seq")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StaffingPlanRecordDO extends BaseNoDeleteDO implements Serializable {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 开始年月
     */
    private String beginYearMonth;

    /**
     * 结束年月
     */
    private String endYearMonth;

    /**
     * 编制人数
     */
    private Integer staffingCount;

    /**
     * 机构id
     */
    private Long tenantId;
}

