package com.blueland.bo;

import java.util.Date;

import com.blueland.model.Query;
import org.hibernate.validator.constraints.Length;

import lombok.Data;
import lombok.EqualsAndHashCode;
@Data @EqualsAndHashCode(callSuper=false)
public class AttachmentEntity extends Query {
	private static final long serialVersionUID = 1L;
	//alias
	public static final String TABLE_ALIAS = "Attachment";
	
		
	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
	/**
	* id       db_column: att_id 
	*/	
	@Length(max=50)
	private String attId;
	/**
	* 应用ID       db_column: app_id 
	*/	
	@Length(max=50)
	private String appId;
	/**
	* 附件名称       db_column: att_name 
	*/	
	@Length(max=255)
	private String attName;
	/**
	* 附件路径       db_column: att_url 
	*/	
	@Length(max=255)
	private String attUrl;
	/**
	* 附件类型       db_column: att_type 
	*/	
	@Length(max=20)
	private String attType;
	/**
	* 业务id       db_column: biz_id 
	*/	
	@Length(max=50)
	private String bizId;
	/**
	* 业务name       db_column: biz_name 
	*/	
	@Length(max=255)
	private String bizName;
	/**
	* 是否可见，y:可见，n：不可见       db_column: att_show 
	*/	
	@Length(max=10)
	private String attShow;
	/**
	* 创建时间       db_column: create_time 
	*/	
	
	private Date createTime;
	/**
	* createUserId       db_column: create_user_id 
	*/	
	@Length(max=50)
	private String createUserId;
	/**
	* createUserName       db_column: create_user_name 
	*/	
	@Length(max=50)
	private String createUserName;
	/**
	* 更新时间       db_column: update_time 
	*/	
	
	private Date updateTime;
	/**
	* 更新用户id       db_column: update_user_id 
	*/	
	@Length(max=50)
	private String updateUserId;
	/**
	* 更新用户名称       db_column: update_user_name 
	*/	
	@Length(max=50)
	private String updateUserName;
	/**
	* 备注       db_column: att_remark 
	*/	
	@Length(max=255)
	private String attRemark;
	/**
	* 文档云id       db_column: sdk_app_id 
	*/	
	@Length(max=50)
	private String sdkAppId;
	//columns END
		
}

