package project

import (
	"server/dao"
	"time"
)

type ReqProject struct {
	ID          uint      `json:"id"`          //ID
	ProjectName string    `json:"projectName"` //名称
	StartTime   time.Time `json:"startTime"`   //开始时间
	Remark      string    `json:"remark"`      //备注
}

type ProjectDetails struct {
	Project dao.Project `json:"project"`

	RelationDev RelationDev `json:"relationDev"`
}

type RelationDev struct {
	Screens []dao.Screens `json:"screensList"`
}

type ReqChangeProjects struct {
	ID     uint   `json:"id"`
	ProIds []uint `json:"proIds"`
}

type UserProject struct {
	SysUserId uint `json:"sys_user_id"`
	ProjectId uint `json:"project_id"`
}
