package com.cowr.model.base; import com.cowr.common.base.BaseModel; import com.jfinal.plugin.activerecord.IBean; import com.alibaba.fastjson.annotation.JSONField; /** * Generated by COWR Sun Jun 21 00:41:02 CST 2020 * TableName: auth_license * Remarks: 出入控制 - 授权车辆 * PrimaryKey: truck_license */ @SuppressWarnings("serial") public abstract class BaseAuthLicense> extends BaseModel implements IBean { public static final String tablename = "auth_license"; @JSONField(serialize=false) public String getTablename(){ return tablename; } /** * name: truck_license * type: VARCHAR(10) * isNullable: NO * isPrimaryKey: YES * defaultValue: * @param truckLicense */ @JSONField(name="truck_license") public void setTruckLicense(String truckLicense) { set("truck_license", truckLicense); } /** * @return truck_license */ @JSONField(name="truck_license") public String getTruckLicense() { return getStr("truck_license"); } /** * name: create_time * type: TIMESTAMP(19) * isNullable: NO * isPrimaryKey: NO * defaultValue: CURRENT_TIMESTAMP * @param createTime 加入时间 */ @JSONField(name="create_time") public void setCreateTime(java.util.Date createTime) { set("create_time", createTime); } /** * @return create_time 加入时间 */ @JSONField(name="create_time") public java.util.Date getCreateTime() { return get("create_time"); } }