norule

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sys_norule

type Sys_norule struct {
	NoId         string            `xorm:"noid" json:"noid"`
	Pid          int               `xorm:"pid" json:"pid"`
	FormPid      int               `xorm:"formpid" json:"formpid"` //规则引用单据PID
	NoMemo       string            `xorm:"nomemo" json:"nomemo"`
	EntId        int               `xorm:"entid" json:"entid"`
	Noruledetail *Sys_noruledetail `xorm:"-" json:"noruledetaillist"`
}

单号规则

func (*Sys_norule) TableName

func (*Sys_norule) TableName() string

type Sys_noruledetail

type Sys_noruledetail struct {
	Did         string          `xorm:"did" json:"did"`
	RuleType    string          `xorm:"ruletype" json:"ruletype"`     // Static    固定字符
	StaticChar  string          `xorm:"staticchar" json:"staticchar"` // 例:PTBX
	RuleItemID  string          `xorm:"ruleitemid" json:"ruleitemid"`
	NoId        string          `xorm:"noid" json:"noid"`
	AutoNumber  int             `xorm:"autonumber" json:"autonumber"`
	PrefixField int             `xorm:"prefixfield" json:"prefixfield"`
	SortID      int             `xorm:"sortid" json:"sortid"`
	GetMainCol  string          `xorm:"getmaincol" json:"getmaincol"`
	Isrequired  int             `xorm:"isrequired" json:"isrequired"`
	Noruleitem  *Sys_noruleitem `xorm:"-" json:"noruleitem"`
}

单号规则组成明细

func (*Sys_noruledetail) TableName

func (*Sys_noruledetail) TableName() string

type Sys_noruleitem

type Sys_noruleitem struct {
	RuleItemID       string `xorm:"ruleitemid" json:"ruleitemid"`
	RuleItemName     string `xorm:"ruleitemname" json:"ruleitemname"`
	RefPid           int    `xorm:"refpid" json:"refpid"`
	RefCol           string `xorm:"refcol" json:"refcol"`
	RefDataSoruceCol string `xorm:"refdatasorucecol" json:"refdatasorucecol"`
}

规则元素表

func (*Sys_noruleitem) TableName

func (*Sys_noruleitem) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL