package ${package.Entity};

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * ${table.comment}
 * </p>
 *
 * @author 子杨
 * @since ${date}
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("${table.name}")
public class ${entity} extends BaseEntity {


#foreach($field in ${table.fields})
#if("$!field.comment" != "")
	/**
	 * ${field.comment}
	 */
#end
	@TableField("${field.name}")
	private ${field.propertyType} ${field.propertyName};
#end
}

