代码:GAT代管车辆(1)

代管车辆表:



页面展示:




package com.jsecode.esb.model.po.vm;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jsecode.esb.common.DicTypeConst;
import com.jsecode.platform.annotation.Dictionary;
import com.jsecode.platform.annotation.Dictionary.DictType;


/**
 * create by DBEntityGenerator tools v1.0
 * @author huangzw 
 * @date 2016-11-20 14:51:33
 * @version 1.0
 */
public class ClglHostEscrowVehicle extends com.jsecode.platform.entity.BaseEntity{
    /**
     * 
     */
    private static final long serialVersionUID = -5301810517700711041L;
    private String vehicleid;
    private String hostid;
    private String hostno;
    private Integer appSysId;
    private Integer appDeptId;
    @Dictionary(orgField="appSysId",deptField="appDeptId",type=DictType.ORGDEPT)
    private String appSysDeptName;
    private String xszh;
    private String hostVehType;
    private String hostBrand;
    private String displacement;
    @Dictionary(value=DicTypeConst.STATE_OF_ORIGIN,dynamic=true)
    private String vehiclearea;
    @Dictionary(value=DicTypeConst.HOST_USAGE_PROPERTY_KEY,dynamic=true)
    private String vehicleproperty;
    private String engineId;
    private String hostVin;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date yearlyinspectiontime;
    private String remark;
    private Integer createUserId;
    private String createUserName;
    private Date createTime;
    private Integer createOrgId;
    private Integer createDeptId;
    private String createOrgDeptName;
    private String appSysName;
    private String appDeptName;
    
    public String getAppSysDeptName(){
        return appSysDeptName;
    }

    public void setAppSysDeptName(String appSysDeptName){
        this.appSysDeptName = appSysDeptName;
    }

    public String getAppSysName(){
        return appSysName;
    }

    public void setAppSysName(String appSysName){
        this.appSysName = appSysName;
    }

    public String getAppDeptName(){
        return appDeptName;
    }

    public void setAppDeptName(String appDeptName){
        this.appDeptName = appDeptName;
    }

    public void setVehicleid(String vehicleid){
        this.vehicleid = vehicleid;
    }

    public String getVehicleid(){
        return this.vehicleid;
    }

    public void setHostid(String hostid){
        this.hostid = hostid;
    }

    public String getHostid(){
        return this.hostid;
    }

    public void setHostno(String hostno){
        this.hostno = hostno;
    }

    public String getHostno(){
        return this.hostno;
    }

    public Integer getAppSysId(){
        return appSysId;
    }

    public void setAppSysId(Integer appSysId){
        this.appSysId = appSysId;
    }

    public Integer getAppDeptId(){
        return appDeptId;
    }

    public void setAppDeptId(Integer appDeptId){
        this.appDeptId = appDeptId;
    }

    public void setXszh(String xszh){
        this.xszh = xszh;
    }

    public String getXszh(){
        return this.xszh;
    }

    public void setHostVehType(String hostVehType){
        this.hostVehType = hostVehType;
    }

    public String getHostVehType(){
        return this.hostVehType;
    }

    public void setHostBrand(String hostBrand){
        this.hostBrand = hostBrand;
    }

    public String getHostBrand(){
        return this.hostBrand;
    }

    public void setDisplacement(String displacement){
        this.displacement = displacement;
    }

    public String getDisplacement(){
        return this.displacement;
    }

    public void setVehiclearea(String vehiclearea){
        this.vehiclearea = vehiclearea;
    }

    public String getVehiclearea(){
        return this.vehiclearea;
    }

    public void setVehicleproperty(String vehicleproperty){
        this.vehicleproperty = vehicleproperty;
    }

    public String getVehicleproperty(){
        return this.vehicleproperty;
    }

    public void setEngineId(String engineId){
        this.engineId = engineId;
    }

    public String getEngineId(){
        return this.engineId;
    }

    public void setHostVin(String hostVin){
        this.hostVin = hostVin;
    }

    public String getHostVin(){
        return this.hostVin;
    }

    public void setYearlyinspectiontime(Date yearlyinspectiontime){
        this.yearlyinspectiontime = yearlyinspectiontime;
    }

    public Date getYearlyinspectiontime(){
        return this.yearlyinspectiontime;
    }

    public void setRemark(String remark){
        this.remark = remark;
    }

    public String getRemark(){
        return this.remark;
    }

    public void setCreateUserId(Integer createUserId){
        this.createUserId = createUserId;
    }

    public Integer getCreateUserId(){
        return this.createUserId;
    }

    public void setCreateUserName(String createUserName){
        this.createUserName = createUserName;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }

    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getCreateTime(){
        return this.createTime;
    }

    public void setCreateOrgId(Integer createOrgId){
        this.createOrgId = createOrgId;
    }

    public Integer getCreateOrgId(){
        return this.createOrgId;
    }

    public void setCreateDeptId(Integer createDeptId){
        this.createDeptId = createDeptId;
    }

    public Integer getCreateDeptId(){
        return this.createDeptId;
    }

    public void setCreateOrgDeptName(String createOrgDeptName){
        this.createOrgDeptName = createOrgDeptName;
    }

    public String getCreateOrgDeptName(){
        return this.createOrgDeptName;
    }
}


<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 2016-11-20 14:51:33 by DBEntityGenerator tools v1.0 -->
<hibernate-mapping >
    <class name="com.jsecode.esb.model.po.vm.ClglHostEscrowVehicle" table="CLGL_HOST_ESCROW_VEHICLE" dynamic-insert="true">
        <id name="vehicleid" type="java.lang.String">
            <column name="VEHICLEID"  length="50"  not-null="true" />
            <generator class="ecodeIdentifierGenerator" />
        </id>
        <property name="hostid" type="java.lang.String">
            <column name="HOSTID"  length="50"  />
        </property>
        <property name="hostno" type="java.lang.String">
            <column name="HOSTNO"  length="30"  not-null="true" />
        </property>
        <property name="appSysId" type="java.lang.Integer">
            <column name="APPSYSID"  precision="8" scale="0"  not-null="true" />
        </property>
        <property name="appDeptId" type="java.lang.Integer">
            <column name="APPDEPTID"  precision="6" scale="0"  not-null="true" />
        </property>
        <property name="xszh" type="java.lang.String">
            <column name="XSZH"  length="60" />
        </property>
        <property name="hostVehType" type="java.lang.String">
            <column name="HOST_VEH_TYPE"  length="30" />
        </property>
        <property name="hostBrand" type="java.lang.String">
            <column name="HOST_BRAND"  length="30" />
        </property>
        <property name="displacement" type="java.lang.String">
            <column name="DISPLACEMENT"  length="10" />
        </property>
        <property name="vehiclearea" type="java.lang.String">
            <column name="VEHICLEAREA"  length="5"  />
        </property>
        <property name="vehicleproperty" type="java.lang.String">
            <column name="VEHICLEPROPERTY"  length="5"  />
        </property>
        <property name="engineId" type="java.lang.String">
            <column name="ENGINE_ID"  length="30"  />
        </property>
        <property name="hostVin" type="java.lang.String">
            <column name="HOST_VIN"  length="30"  />
        </property>
        <property name="yearlyinspectiontime" type="java.util.Date">
            <column name="YEARLYINSPECTIONTIME"  length="7" />
        </property>
        <property name="remark" type="java.lang.String">
            <column name="REMARK"  length="500" />
        </property>
        <property name="createUserId" type="java.lang.Integer">
            <column name="CREATE_USER_ID"  precision="8" scale="0"  not-null="true" />
        </property>
        <property name="createUserName" type="java.lang.String">
            <column name="CREATE_USER_NAME"  length="60"  not-null="true" />
        </property>
        <property name="createTime" type="java.util.Date">
            <column name="CREATE_TIME"  length="7"  not-null="true" />
        </property>
        <property name="createOrgId" type="java.lang.Integer">
            <column name="CREATE_ORG_ID"  precision="8" scale="0"  not-null="true" />
        </property>
        <property name="createDeptId" type="java.lang.Integer">
            <column name="CREATE_DEPT_ID"  precision="8" scale="0"  not-null="true" />
        </property>
        <property name="createOrgDeptName" type="java.lang.String">
            <column name="CREATE_ORG_DEPT_NAME"  length="300"  not-null="true" />
        </property>
    </class>
</hibernate-mapping>


package com.jsecode.esb.model.protocol.hostEscrowVehicle;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jsecode.esb.common.DicTypeConst;
import com.jsecode.esb.model.AppSysDept;
import com.jsecode.esb.model.protocol.BasePageQuery;
import com.jsecode.platform.annotation.Dictionary;

/**
 * 
 * 【代管车辆新增】
 *
 *
 * @author jsecode01
 * @date 2016年11月18日 上午11:23:39
 * @version 1.0
 */
public class HostEscrowVehicleReq extends BasePageQuery implements AppSysDept {

    private static final long serialVersionUID = -5818648854094403645L;
    private String vehicleid;
    private String hostid;
    private String hostno;
    private Integer appSysId;
    private Integer appDeptId;
    private String xszh;
    private String hostVehType;
    private String hostBrand;
    private String displacement;
    
    @Dictionary(value="STATE_OF_ORIGIN",dynamic=true)
    private String vehiclearea;
    private String vehicleareaDesc;
    
    @Dictionary(value=DicTypeConst.HOST_USAGE_PROPERTY_KEY,dynamic=true)
    private String vehicleproperty;
    private String vehiclepropertyDesc;
    
    private String engineId;
    private String hostVin;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date yearlyinspectiontime;
    private String remark;

    public String getVehicleareaDesc(){
        return vehicleareaDesc;
    }

    public void setVehicleareaDesc(String vehicleareaDesc){
        this.vehicleareaDesc = vehicleareaDesc;
    }

    public String getVehiclepropertyDesc(){
        return vehiclepropertyDesc;
    }

    public void setVehiclepropertyDesc(String vehiclepropertyDesc){
        this.vehiclepropertyDesc = vehiclepropertyDesc;
    }

    public String getVehicleid(){
        return vehicleid;
    }

    public void setVehicleid(String vehicleid){
        this.vehicleid = vehicleid;
    }

    public String getHostid(){
        return hostid;
    }

    public void setHostid(String hostid){
        this.hostid = hostid;
    }

    public String getHostno(){
        return hostno;
    }

    public void setHostno(String hostno){
        this.hostno = hostno;
    }

    public Integer getAppSysId(){
        return appSysId;
    }

    public void setAppSysId(Integer appSysId){
        this.appSysId = appSysId;
    }

    public Integer getAppDeptId(){
        return appDeptId;
    }

    public void setAppDeptId(Integer appDeptId){
        this.appDeptId = appDeptId;
    }

    public String getXszh(){
        return xszh;
    }

    public void setXszh(String xszh){
        this.xszh = xszh;
    }


    public String getHostVehType(){
        return hostVehType;
    }

    public void setHostVehType(String hostVehType){
        this.hostVehType = hostVehType;
    }

    public String getHostBrand(){
        return hostBrand;
    }

    public void setHostBrand(String hostBrand){
        this.hostBrand = hostBrand;
    }

    public String getDisplacement(){
        return displacement;
    }

    public void setDisplacement(String displacement){
        this.displacement = displacement;
    }

    public String getVehiclearea(){
        return vehiclearea;
    }

    public void setVehiclearea(String vehiclearea){
        this.vehiclearea = vehiclearea;
    }

    public String getVehicleproperty(){
        return vehicleproperty;
    }

    public void setVehicleproperty(String vehicleproperty){
        this.vehicleproperty = vehicleproperty;
    }

    public String getEngineId(){
        return engineId;
    }

    public void setEngineId(String engineId){
        this.engineId = engineId;
    }

    public String getHostVin(){
        return hostVin;
    }

    public void setHostVin(String hostVin){
        this.hostVin = hostVin;
    }

    public Date getYearlyinspectiontime(){
        return yearlyinspectiontime;
    }

    public void setYearlyinspectiontime(Date yearlyinspectiontime){
        this.yearlyinspectiontime = yearlyinspectiontime;
    }

    public String getRemark(){
        return remark;
    }

    public void setRemark(String remark){
        this.remark = remark;
    }

}


package com.jsecode.esb.model.protocol.hostEscrowVehicle;

import com.jsecode.esb.common.DicTypeConst;
import com.jsecode.platform.annotation.Dictionary;
import com.jsecode.platform.entity.BaseEntity;

public class ClglHostEscrowVehicleRsp extends BaseEntity {
    private static final long serialVersionUID = 8575718160185577354L;
    private String vehicleid;
    private String hostid;
    private String hostno;
    private String sysDeptName;
    private String vehicleproperty;
    @Dictionary(DicTypeConst.HOST_USAGE_PROPERTY_KEY)
    private String vehiclepropertyDesc;
    private String hostBrand;
    private String hostVehType;
    private Integer appsysid;
    private Integer appdeptid;

    public String getVehicleid(){
        return vehicleid;
    }

    public void setVehicleid(String vehicleid){
        this.vehicleid = vehicleid;
    }

    public String getHostid(){
        return hostid;
    }

    public void setHostid(String hostid){
        this.hostid = hostid;
    }

    public String getHostno(){
        return hostno;
    }

    public void setHostno(String hostno){
        this.hostno = hostno;
    }

    public String getSysDeptName(){
        return sysDeptName;
    }

    public void setSysDeptName(String sysDeptName){
        this.sysDeptName = sysDeptName;
    }

    public String getVehicleproperty(){
        return vehicleproperty;
    }

    public void setVehicleproperty(String vehicleproperty){
        this.vehicleproperty = vehicleproperty;
    }

    public String getVehiclepropertyDesc(){
        return vehiclepropertyDesc;
    }

    public void setVehiclepropertyDesc(String vehiclepropertyDesc){
        this.vehiclepropertyDesc = vehiclepropertyDesc;
    }

    public String getHostBrand(){
        return hostBrand;
    }

    public void setHostBrand(String hostBrand){
        this.hostBrand = hostBrand;
    }

    public String getHostVehType(){
        return hostVehType;
    }

    public void setHostVehType(String hostVehType){
        this.hostVehType = hostVehType;
    }

    public Integer getAppsysid(){
        return appsysid;
    }

    public void setAppsysid(Integer appsysid){
        this.appsysid = appsysid;
    }

    public Integer getAppdeptid(){
        return appdeptid;
    }

    public void setAppdeptid(Integer appdeptid){
        this.appdeptid = appdeptid;
    }

}


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ZHOU_VIP

您的鼓励将是我创作最大的动力!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值