package com.gxwebsoft.oa.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 项目管理表
 *
 * @author WebSoft
 * @since 2022-11-16 11:00:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Project对象", description = "项目管理表")
@TableName("oa_project")
public class Project implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目ID")
    @TableId(value = "project_id", type = IdType.AUTO)
    private Integer projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目标识")
    private String projectCode;

    @ApiModelProperty(value = "商品分类")
    private String projectCategory;

    @ApiModelProperty(value = "项目商标")
    private String projectAvatar;

    @ApiModelProperty(value = "项目域名")
    private String url;

    @ApiModelProperty(value = "开发版域名")
    private String urlDev;

    @ApiModelProperty(value = "后台管理地址")
    private String urlAdmin;

    @ApiModelProperty(value = "默认账号密码")
    private String account;

    @ApiModelProperty(value = "项目金额")
    private BigDecimal money;

    @ApiModelProperty(value = "实际金额")
    private BigDecimal realMoney;

    @ApiModelProperty(value = "年费")
    private BigDecimal annualFee;

    @ApiModelProperty(value = "项目详情")
    private String content;

    @ApiModelProperty(value = "开发参数(json)")
    private String param;

    @ApiModelProperty(value = "二维码")
    private String qrcode;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "项目进度（10待安排 20策划设计 30功能开发 40待验收 50完成）")
    private Integer progress;

    @ApiModelProperty(value = "初始浏览数")
    private Integer views;

    @ApiModelProperty(value = "状态(10上架 20下架)")
    private Integer status;

    @ApiModelProperty(value = "排序(数字越小越靠前)")
    private Integer sortNumber;

    @ApiModelProperty(value = "是否精选客户案例")
    private Boolean isCase;

    @ApiModelProperty(value = "负责人")
    private Integer commander;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "机构id")
    private Integer organizationId;

    @ApiModelProperty(value = "可见性(public,private,protected)")
    private String visibility;

    @ApiModelProperty(value = "项目归属者")
    private Integer customerId;

    @ApiModelProperty(value = "项目描述")
    private String comments;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "注册时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
