package com.ajb.car.entity.meta;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
  代码类型表
*/

@Entity
@Table(name="ag_md_code_type")
public class AgMdCodeType implements java.io.Serializable {

private static final long serialVersionUID = 1L;

	// 主键
	private Long id;

	// 代码类型
	private String codeType;

	// 代码类型描述
	private String codeTypeDesc;

	// 代码类型英文描述
	private String codeTypeDescEn;

	// 0=No, 1=Yes
	private Integer isActive;

	// 标识
	private String flag;

	// 备注
	private String remark;

	// 创建时间
	private Date createdAt;

	// 创建人
	private Long createdBy;

	// 修改时间
	private Date updatedAt;

	// 修改人
	private Long updatedBy;

	/** ?? 主键,???? ag_md_code_type.id */
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	public Long getId(){
		return this.id;
	}
	/** ?? 主键,???? ag_md_code_type.id */
	public void setId(Long id){
		this.id = id;
	}
	/** ?? 代码类型,???? ag_md_code_type.code_type */
	@Column(name="code_type")
	public String getCodeType(){
		return this.codeType;
	}
	/** ?? 代码类型,???? ag_md_code_type.code_type */
	public void setCodeType(String codeType){
		this.codeType = codeType;
	}
	/** ?? 代码类型描述,???? ag_md_code_type.code_type_desc */
	@Column(name="code_type_desc")
	public String getCodeTypeDesc(){
		return this.codeTypeDesc;
	}
	/** ?? 代码类型描述,???? ag_md_code_type.code_type_desc */
	public void setCodeTypeDesc(String codeTypeDesc){
		this.codeTypeDesc = codeTypeDesc;
	}
	/** ?? 代码类型英文描述,???? ag_md_code_type.code_type_desc_en */
	@Column(name="code_type_desc_en")
	public String getCodeTypeDescEn(){
		return this.codeTypeDescEn;
	}
	/** ?? 代码类型英文描述,???? ag_md_code_type.code_type_desc_en */
	public void setCodeTypeDescEn(String codeTypeDescEn){
		this.codeTypeDescEn = codeTypeDescEn;
	}
	/** ?? 0=No, 1=Yes,???? ag_md_code_type.is_active */
	@Column(name="is_active")
	public Integer getIsActive(){
		return this.isActive;
	}
	/** ?? 0=No, 1=Yes,???? ag_md_code_type.is_active */
	public void setIsActive(Integer isActive){
		this.isActive = isActive;
	}
	/** ?? 标识,???? ag_md_code_type.flag */
	@Column(name="flag")
	public String getFlag(){
		return this.flag;
	}
	/** ?? 标识,???? ag_md_code_type.flag */
	public void setFlag(String flag){
		this.flag = flag;
	}
	/** ?? 备注,???? ag_md_code_type.remark */
	@Column(name="remark")
	public String getRemark(){
		return this.remark;
	}
	/** ?? 备注,???? ag_md_code_type.remark */
	public void setRemark(String remark){
		this.remark = remark;
	}
	/** ?? 创建时间,???? ag_md_code_type.created_at */
	@Column(name="created_at")
	public Date getCreatedAt(){
		return this.createdAt;
	}
	/** ?? 创建时间,???? ag_md_code_type.created_at */
	public void setCreatedAt(Date createdAt){
		this.createdAt = createdAt;
	}
	/** ?? 创建人,???? ag_md_code_type.created_by */
	@Column(name="created_by")
	public Long getCreatedBy(){
		return this.createdBy;
	}
	/** ?? 创建人,???? ag_md_code_type.created_by */
	public void setCreatedBy(Long createdBy){
		this.createdBy = createdBy;
	}
	/** ?? 修改时间,???? ag_md_code_type.updated_at */
	@Column(name="updated_at")
	public Date getUpdatedAt(){
		return this.updatedAt;
	}
	/** ?? 修改时间,???? ag_md_code_type.updated_at */
	public void setUpdatedAt(Date updatedAt){
		this.updatedAt = updatedAt;
	}
	/** ?? 修改人,???? ag_md_code_type.updated_by */
	@Column(name="updated_by")
	public Long getUpdatedBy(){
		return this.updatedBy;
	}
	/** ?? 修改人,???? ag_md_code_type.updated_by */
	public void setUpdatedBy(Long updatedBy){
		this.updatedBy = updatedBy;
	}
}