package org.matrix.remote.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author c
 * @since 2022-02-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("zt_project")
@ApiModel(value = "ZtProject对象", description = "")
public class ZtProject {

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

    private Integer project;

    private String model;

    private String type;

    private String lifetime;

    private String budget;

    @TableField(value = "budgetUnit")
    private String budgetUnit;

    private String attribute;

    private Float percent;

    private String milestone;

    private String output;

    private String auth;

    private Integer parent;

    private String path;

    private Integer grade;

    private String name;

    private String code;

    private LocalDate begin;

    private LocalDate end;

    @TableField(value = "realBegan")
    private LocalDate realBegan;

    @TableField(value = "realEnd")
    private LocalDate realEnd;

    private Integer days;

    private String status;

    @TableField(value = "subStatus")
    private String subStatus;

    private String pri;

//    private String desc;

    private Integer version;

    @TableField(value = "parentVersion")
    private Integer parentVersion;

    @TableField(value = "planDuration")
    private Integer planDuration;

    @TableField(value = "realDuration")
    private Integer realDuration;

    @TableField(value = "openedBy")
    private String openedBy;

    @TableField(value = "openedDate")
    private LocalDateTime openedDate;

    @TableField(value = "openedVersion")
    private String openedVersion;

    @TableField(value = "lastEditedBy")
    private String lastEditedBy;

    @TableField(value = "lastEditedDate")
    private LocalDateTime lastEditedDate;

    @TableField(value = "closedBy")
    private String closedBy;

    @TableField(value = "closedDate")
    private LocalDateTime closedDate;

    @TableField(value = "canceledBy")
    private String canceledBy;

    @TableField(value = "canceledDate")
    private LocalDateTime canceledDate;

    private String po;

    private String pm;

    private String qd;

    private String rd;

    private String team;

    private String acl;

    private String whitelist;

//    private Integer order;

    private String deleted;


}
