package base
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @Struct Name : ArtData
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 物料分配属性
|
|
*
|
|
* @Author : 娄文智
|
|
*
|
|
* @Date : 2021-05-26
|
|
*
|
|
******************************************************************************/
|
|
type ArtData struct {
|
|
Attribute `xorm:"extends"`
|
|
ArticleAtcodLst `xorm:"extends"`
|
|
}
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @Struct Name : UserViewInfo
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 用户信息
|
|
*
|
|
* @Author : 娄文智
|
|
*
|
|
* @Date : 2021-05-26
|
|
*
|
|
******************************************************************************/
|
|
type UserViewInfo struct {
|
|
PlantNr int `json:"User-PlantNr"`
|
|
UserId string `json:"User-UserId"`
|
|
Name string `json:"User-Name"`
|
|
NickName string `json:"User-NickName"`
|
|
Phone string `json:"User-Phone"`
|
|
Email string `json:"User-Email"`
|
|
Status string `json:"User-Status"`
|
|
Gender string `json:"User-Gender"`
|
|
RoleId int `json:"User-RoleId"`
|
|
Role string `json:"User-Role"`
|
|
Remark string `json:"User-Remark"`
|
|
}
|
|
|
|
type SysUserPwd struct {
|
|
OldPassword string `json:"OldPassword"`
|
|
NewPassword string `json:"NewPassword"`
|
|
}
|
|
|
|
type MenuLable struct {
|
|
Id int `json:"id" xorm:"-"`
|
|
Label string `json:"label" xorm:"-"`
|
|
Children []MenuLable `json:"children" xorm:"-"`
|
|
}
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @Struct Name : CustomerLable
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 客户列表菜单
|
|
*
|
|
* @Author : 娄文智
|
|
*
|
|
* @Date : 2021-09-08
|
|
*
|
|
******************************************************************************/
|
|
type CustomerLable struct {
|
|
CustomerId string `json:"CustomerId" xorm:"-"`
|
|
CreateModel string `json:"CreateModel" xorm:"-"`
|
|
Label string `json:"Label" xorm:"-"`
|
|
Children []CustomerLable `json:"Children" xorm:"-"`
|
|
ArtId string `json:"ArtId" xorm:"-"`
|
|
Leaf bool `json:"Leaf" xorm:"-"`
|
|
}
|