package ec

import (
	"wb/cc"
)

const (
	SessionDepartment = "session_department"
)

var (
	Tbl        *tableName
	Col        *columnName
	Department *department
)

type department struct {
	Software string
}
type tableName struct {
	User        string
	Product     string
	ProductItem string
	Department  string
}
type columnName struct {
	cc.SColumnName
	Name       string
	UserName   string
	Password   string
	Department string
	Role       string
	Flag       string
	Sn         string
	String     string
}

func init() {
	Tbl = &tableName{
		User:        "user",
		Product:     "product",
		ProductItem: "productitem",
		Department:  "department",
	}
	Col = &columnName{
		SColumnName: *cc.Col,

		Name:       "name",
		UserName:   "userName",
		Password:   "password",
		Department: "department",
		Role:       "role",
		Flag:       "flag",
		Sn:         "sn",
		String:     "string",
	}
	Department = &department{
		Software: "department_software",
	}
}
