package com.yingpaipay.business.domain.bo;

import com.yingpaipay.business.domain.Project;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.common.translation.annotation.Translation;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.common.translation.constant.TransConstant;

/**
 * 项目管理业务对象 project
 *
 * @author Huanyi
 * @date 2025-12-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Project.class, reverseConvertGenerate = false)
public class ProjectBo extends BaseEntity {

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

    /**
     * 项目编号
     */
//    @NotBlank(message = "项目编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 名称
     */
//    @NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 图标
     */
    private Long icon;

    /**
     * 项目语言
     */
//    @NotBlank(message = "项目语言不能为空", groups = { AddGroup.class, EditGroup.class })
    private String language;

    /**
     * 项目类型
     */
//    @NotBlank(message = "项目类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 状态
     */
    private Integer status;

    /**
     * PD/GPD
     */
    private String pdGpd;

    /**
     * PM/GPM
     */
    private String pmGpm;

    /**
     * CTA/GCTA
     */
    private String ctaGcta;

    /**
     * 申办方
     */
    private String sponsor;

    /**
     * CRO
     */
    private String cro;

    /**
     * 备注
     */
    private String note;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;


}
