You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

79 lines
2.0 KiB

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const CameraStatus = sequelize.define("cameraStatus", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: true,
field: "id",
autoIncrement: true,
unique: "camera_status_id_uindex"
},
platform: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: "平台分类 yingshi gb",
primaryKey: false,
field: "platform",
autoIncrement: false
},
status: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: false,
field: "status",
autoIncrement: false
},
describe: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "错误描述",
primaryKey: false,
field: "describe",
autoIncrement: false
},
paraphrase: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "释义",
primaryKey: false,
field: "paraphrase",
autoIncrement: false
},
forbidden: {
type: DataTypes.BOOLEAN,
allowNull: false,
defaultValue: null,
comment: "是否禁用",
primaryKey: false,
field: "forbidden",
autoIncrement: false
},
paraphraseCustom: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "自定义释义",
primaryKey: false,
field: "paraphrase_custom",
autoIncrement: false
}
}, {
tableName: "camera_status",
comment: "",
indexes: []
});
dc.models.CameraStatus = CameraStatus;
return CameraStatus;
};