package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.BusProjectPunchrange;

/**
 * 项目打卡范围业务对象 bus_project_punchrange
 *
 * @author Lion Li
 * @date 2025-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BusProjectPunchrange.class, reverseConvertGenerate = false)
public class BusProjectPunchrangeBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 项目ID
     */
    @NotNull(message = "项目ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long projectId;

    /**
     * 范围名称
     */
    private String punchName;

    /**
     * 打卡范围
     */
    private String punchRange;

    /**
     * 颜色
     */
    private String punchColor;


}
