package model

type Dataset struct {
	DatasetId   int64  `xorm:"not null pk autoincr INT(11)" json:"datasetId"`
	DatasetName string `xorm:"varchar(200) not null" json:"datasetName"`
	DatasetDesc string `xorm:"varchar(200)" json:"datasetDesc"`
	StoreName   string `xorm:"varchar(200)" json:"storeName"`
	CategoryId  int    `xorm:"not null SMALLINT default 1" json:"categoryId"` //业务分类, 1:道路 2:桥梁 3:隧道 4:边坡
	ProjectId   int64  `xorm:"INT(11) not null default 0 index" json:"projectId"`
	OwnerId     int64  `xorm:"INT(11) not null default 0 index" json:"ownerId"`
	Creator     int64  `xorm:"INT(11) not null default 0 index" json:"creator"`
	Status      int    `xorm:"SMALLINT not null default 1" json:"status"`
	CreateAt    int64  `xorm:"created" json:"createAt"`
	UpdateAt    int64  `xorm:"updated" json:"updateAt"`
}