四好公路
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.
 
 
 
 

44 lines
920 B

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const CarImages = sequelize.define("carImages", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: true,
field: "id",
autoIncrement: true,
unique: "car_images_id_uindex"
},
url: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "图片路径",
primaryKey: false,
field: "url",
autoIncrement: false
},
time: {
type: DataTypes.DATE,
allowNull: true,
defaultValue: null,
comment: "时间",
primaryKey: false,
field: "time",
autoIncrement: false
}
}, {
tableName: "car_images",
comment: "",
indexes: []
});
dc.models.CarImages = CarImages;
return CarImages;
};