package org.matrix.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author matrix
 * @since 2022-01-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Project对象", description = "项目")
@TableName(value = "kt_project")
public class Project extends BaseEntity {

    @ApiModelProperty("名称")
    private String name;

    @JsonIgnore
    @ApiModelProperty("所属的用户id")
    private Integer userId;

}
