/*
* Copyright (c) ${Company} Corporation ${Year} . All rights reserved.
*
*/
package ${dtoPackage};

import java.math.BigDecimal;
import java.text.ParseException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
* 数据传输对象：${classRef.getComment()}
*
* <p>${Attention}  <br>
  * createdate:  ${now}  <br>
  * @author:  ${Author}  <br>
  * @since:  ${Version} <br>
  */
  @ApiModel(description = "${classRef.getComment()}")
  public class ${classRef.getClassName()}Dto implements Serializable
  {

  #foreach( ${attrRef} in ${classRef.getAttributes()} )
    /**
    * ${attrRef.getComment()}<br>
    */
    @ApiModelProperty(value = "${attrRef.getComment()}")
    private ${attrRef.getJavaTypeName()} ${attrRef.getRefName()};
  #end

  #foreach( ${attrRef} in ${classRef.getAttributes()} )
    /**
    * ${attrRef.getComment()}<br>
    */
    public ${attrRef.getJavaTypeName()} get${attrRef.getClassName()}()
    {
    #if(${attrRef.getJavaTypeName()} eq "Date")
      if(${attrRef.getRefName()} != null)
      {
      return (Date)${attrRef.getRefName()}.clone();
      }
      return null;
    #else
      return ${attrRef.getRefName()};
    #end
    }

    /**
    * ${attrRef.getComment()}<br>
    *
    * @param ${attrRef.getRefName()} ${attrRef.getComment()}
    */
    public void set${attrRef.getClassName()}(${attrRef.getJavaTypeName()} ${attrRef.getRefName()})
    {
    #if(${attrRef.getJavaTypeName()} eq "Date")
      if(${attrRef.getRefName()} != null)
      {
      this.${attrRef.getRefName()} = (Date)${attrRef.getRefName()}.clone();
      }
    #else
      this.${attrRef.getRefName()} = ${attrRef.getRefName()};
    #end
    }
  #end
}
