Browse Source

企业信息及流程角色设置表

yuedefeng 6 years ago
parent
commit
10f197029e

+ 23 - 0
src/dashoo.cn/backend/api/business/oilsupplier/auditsetting/oilauditsetting.go

@@ -0,0 +1,23 @@
+package auditsetting
+
+import (
+	"time"
+)
+
+type OilAuditSetting struct {
+	Id             int       `xorm:"not null pk autoincr INT(10)"`
+	OrganizeId     int       `xorm:"not null default 0 comment('单位ID') INT(10)"`
+	OrganizeName   string    `xorm:"comment('单位名称') VARCHAR(100)"`
+	AuditStepCode  string    `xorm:"not null default '0' comment('审批步骤编码') VARCHAR(20)"`
+	AuditStepName  string    `xorm:"comment('审批步骤名称') VARCHAR(50)"`
+	RoleId         int       `xorm:"not null default 0 comment('角色ID') INT(10)"`
+	RoleName       string    `xorm:"comment('角色名称') VARCHAR(50)"`
+	Remark         string    `xorm:"comment('备注') VARCHAR(500)"`
+	IsDelete       int       `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
+	CreateOn       time.Time `xorm:"DATETIME"`
+	CreateUserId   int       `xorm:"INT(10)"`
+	CreateBy       string    `xorm:"VARCHAR(50)"`
+	ModifiedOn     time.Time `xorm:"DATETIME"`
+	ModifiedUserId int       `xorm:"INT(10)"`
+	ModifiedBy     string    `xorm:"VARCHAR(50)"`
+}

+ 21 - 0
src/dashoo.cn/backend/api/business/oilsupplier/enterprisepersonnelstructure/oilenterprisepersonnelstructure.go

@@ -0,0 +1,21 @@
+package enterprisepersonnelstructure
+
+import (
+	"time"
+)
+
+type Oilenterprisepersonnelstructure struct {
+	Id             int       `xorm:"not null pk autoincr INT(10)"`
+	Suppliercertid int       `xorm:"not null comment('供方准入证书信息表ID') INT(10)"`
+	Mainequipment  string    `xorm:"comment('主要设备名称') VARCHAR(100)"`
+	Specifications string    `xorm:"not null default '0' comment('规格型号') VARCHAR(10)"`
+	Number         string    `xorm:"not null default '0' comment('数量') CHAR(10)"`
+	Remark         string    `xorm:"comment('备注') VARCHAR(500)"`
+	Isdelete       int       `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
+	Createon       time.Time `xorm:"DATETIME"`
+	Createuserid   int       `xorm:"INT(10)"`
+	Createby       string    `xorm:"VARCHAR(50)"`
+	Modifiedon     time.Time `xorm:"DATETIME"`
+	Modifieduserid int       `xorm:"INT(10)"`
+	Modifiedby     string    `xorm:"VARCHAR(50)"`
+}

+ 22 - 0
src/dashoo.cn/backend/api/business/oilsupplier/patentstatistical/oilpatentstatistical.go

@@ -0,0 +1,22 @@
+package patentstatistical
+
+import (
+	"time"
+)
+
+type Oilpatentstatistical struct {
+	Id                int       `xorm:"not null pk autoincr INT(10)"`
+	Suppliercertid    int       `xorm:"not null comment('供方准入证书信息表ID') INT(10)"`
+	Name              string    `xorm:"comment('名称') VARCHAR(100)"`
+	Content           string    `xorm:"not null default '0' comment('主要内容') VARCHAR(100)"`
+	Approvalauthority string    `xorm:"not null default '0' comment('批准机关') VARCHAR(50)"`
+	Approvaldate      time.Time `xorm:"comment('批准日期') DATETIME"`
+	Remark            string    `xorm:"comment('备注') VARCHAR(500)"`
+	Isdelete          int       `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
+	Createon          time.Time `xorm:"DATETIME"`
+	Createuserid      int       `xorm:"INT(10)"`
+	Createby          string    `xorm:"VARCHAR(50)"`
+	Modifiedon        time.Time `xorm:"DATETIME"`
+	Modifieduserid    int       `xorm:"INT(10)"`
+	Modifiedby        string    `xorm:"VARCHAR(50)"`
+}

+ 24 - 0
src/dashoo.cn/backend/api/business/oilsupplier/threeyearsperformance/oilthreeyearsperformance.go

@@ -0,0 +1,24 @@
+package threeyearsperformance
+
+import (
+	"time"
+)
+
+type Oilthreeyearsperformance struct {
+	Id             int       `xorm:"not null pk autoincr INT(10)"`
+	Suppliercertid int       `xorm:"not null comment('供方准入证书信息表ID') INT(10)"`
+	Projectname    string    `xorm:"comment('主要设备名称') VARCHAR(100)"`
+	Bearcontent    string    `xorm:"not null default '0' comment('承担项目主要内容') VARCHAR(100)"`
+	Ownerunit      string    `xorm:"not null default '0' comment('业主单位') VARCHAR(100)"`
+	Starttime      time.Time `xorm:"comment('起止时间') DATETIME"`
+	Stoptime       time.Time `xorm:"comment('起止时间') DATETIME"`
+	Tudge          string    `xorm:"not null default '0' comment('是否发生过质量、安全、环境事故') VARCHAR(20)"`
+	Remark         string    `xorm:"comment('备注') VARCHAR(500)"`
+	Isdelete       int       `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
+	Createon       time.Time `xorm:"DATETIME"`
+	Createuserid   int       `xorm:"INT(10)"`
+	Createby       string    `xorm:"VARCHAR(50)"`
+	Modifiedon     time.Time `xorm:"DATETIME"`
+	Modifieduserid int       `xorm:"INT(10)"`
+	Modifiedby     string    `xorm:"VARCHAR(50)"`
+}

+ 21 - 0
src/dashoo.cn/backend/api/business/oilsupplier/winningproject/oilwinningproject.go

@@ -0,0 +1,21 @@
+package winningproject
+
+import (
+	"time"
+)
+
+type OilWinningProject struct {
+	Id             int       `xorm:"not null pk autoincr INT(10)"`
+	Suppliercertid int       `xorm:"not null comment('供方准入证书信息表ID') INT(10)"`
+	Awardname      string    `xorm:"comment('奖项名称') VARCHAR(100)"`
+	Winningtime    time.Time `xorm:"comment('获奖时间') DATETIME"`
+	Authorities    string    `xorm:"not null default '0' comment('颁奖机关') VARCHAR(10)"`
+	Remark         string    `xorm:"comment('备注') VARCHAR(500)"`
+	Isdelete       int       `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
+	Createon       time.Time `xorm:"DATETIME"`
+	Createuserid   int       `xorm:"INT(10)"`
+	Createby       string    `xorm:"VARCHAR(50)"`
+	Modifiedon     time.Time `xorm:"DATETIME"`
+	Modifieduserid int       `xorm:"INT(10)"`
+	Modifiedby     string    `xorm:"VARCHAR(50)"`
+}