# ScheduleDepartment.java

    package cloud.wconnect.workperformance.entity.schedule;

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

    import java.io.Serializable;

    /**
     * <p>
     * 排班部门
     * </p>
     *
     * @author yyt
     * @since 2023-06-28
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class ScheduleDepartment implements Serializable {

        private static final long serialVersionUID = 1L;

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

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

        /**
         * 部门编号
         */
        private String departmentCode;

        /**
         * 部门名称
         */
        private String name;

        /**
         * 排序编号
         */
        private Integer sort;

        /**
         * 修改人
         */
        private Integer updatedBy;

        /**
         * 修改时间
         */
        private Long updatedTime;

        public static final String MISCELLANEOUS_NAME = "Miscellaneous";

        public static final int MISCELLANEOUS_ID = 0;

    }