package com.test.test.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.test.common.annotation.Excel;
import com.test.common.core.domain.BaseEntity;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class TestProject extends BaseEntity {

    private static final long serialVersionUID = -8420426086386159695L;

    /** 主键 */
    private Long id;

    /** 需求编码 */
    @Excel(name = "需求编码")
    private String serialNumber;

    /** 需求名称 */
    @Excel(name = "需求名称")
    private String name;

    /** 需求概要 */
    @Excel(name = "需求概要")
    private String outline;

    /** 需求描述 */
    @Excel(name = "需求描述")
    private String detail;

    /** 优先级(p0,p1,p2,p3,p4) */
    @Excel(name = "优先级(p0,p1,p2,p3,p4)")
    private String priority;

    /** 预计完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date estimatedTime;

    /** 需求来源(0,产品经理,1,客户) */
    @Excel(name = "需求来源(0,产品经理,1,客户)")
    private String source;

    /** 需求类型(0,优化,1,新功能) */
    @Excel(name = "需求类型(0,优化,1,新功能)")
    private String type;

    /** 状态(0,未开始,1,进行中,2,已完成,3,已终止) */
    @Excel(name = "状态(0,未开始,1,进行中,2,已完成,3,已终止)")
    private String status;

    /** 负责人 */
    @Excel(name = "负责人")
    private String manager;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 0,正常,1,删除 */
    private String delFlag;
}
