fourcal/src/main/java/cn/palmte/work/model/ProjectVisible.java

30 lines
441 B
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package cn.palmte.work.model;
import lombok.Data;
import javax.persistence.*;
/**
* 项目可见性配置
*/
@Data
@Entity
@Table(name = "project_visible")
public class ProjectVisible {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
@Column(name = "project_id")
private int projectId;
/**
* 1按照角色2按照人员
*/
private String type;
private int tid;
}