GAAS GFrame项目web后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
3.4 KiB

package base
/******************************************************************************
*
* @Struct Name : WeekModelLstInsertReq
*-----------------------------------------------------------------------------
*
* @Description : WeekModelLstInsertReq weekModelLst 批量插入请求体映射
*
* @Author : 张鑫
*
* @Date : 2021-04-15
*
******************************************************************************/
type WeekModelLstInsertReq struct {
WeekModelNr int `json:"weekModelNr"`
Records []WeekModelLst `json:"records"`
}
/******************************************************************************
*
* @Struct Name : WorkCalendarLstInsertReq
*-----------------------------------------------------------------------------
*
* @Description : WorkCalendarLstInsertReq workCalendarLst 批量插入请求体映射
*
* @Author : 张鑫
*
* @Date : 2021-04-15
*
******************************************************************************/
type WorkCalendarLstInsertReq struct {
WorkCalendarNr int `json:"workCalendarNr"`
Records []WorkCalendarLst `json:"records"`
}
/******************************************************************************
*
* @Struct Name : WorkLineArr
*-----------------------------------------------------------------------------
*
* @Description : WorkCalendarLstInsertReq workCalendarLst 批量插入请求体映射
*
* @Author : 娄文智
*
* @Date : 2021-04-15
*
******************************************************************************/
type WorkLineArr struct {
PlantNr int `json:"WorkLine-PlantNr"`
WorkLineid string `json:"WorkLine-WorkLineid"`
Descr string `json:"WorkLine-Descr"`
LineType string `json:"WorkLine-LineType"`
Disabled bool `json:"disabled"`
Childrens []WorkLine `json:"childrens"`
}
/******************************************************************************
*
* @Struct Name : WorkLineArr
*-----------------------------------------------------------------------------
*
* @Description : WorkCalendarLstInsertReq workCalendarLst 批量插入请求体映射
*
* @Author : 娄文智
*
* @Date : 2021-04-15
*
******************************************************************************/
type WorkLineData struct {
StartDate string `json:"startDate"`
EndDate string `json:"endDate"`
WorkLineid string `json:"workLineId"`
}
/******************************************************************************
*
* @Struct Name : ArtData
*-----------------------------------------------------------------------------
*
* @Description : 物料分配属性
*
* @Author : 娄文智
*
* @Date : 2021-05-26
*
******************************************************************************/
type ArtData struct {
Attribute `xorm:"extends"`
ArticleAtcodLst `xorm:"extends"`
}
var AccomplishWorkLineMap = map[string]interface{}{
"G-Frame Assy": nil,
}
// 角色关联产线的前端传入绑定结构体
type RoleRelInsert struct {
RoleId int `json:"roleId"`
RoleRelLi []RoleRel `json:"roleRelLi"`
}