ba7d874c889d9a6d918efbc0c5a93513a9abd86e.svn-base 3.13 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.entity.bus;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 收件信息(主子表)维护Entity
 * @author xuyg
 * @version 2015-11-24
 */
public class RegBusSjchild extends DataEntity<RegBusSjchild> {
	
	private static final long serialVersionUID = 1L;
	private RegBusSjmain mainId;		// 收件主表ID 父类
	private Integer sort;       //收件列表排序
	private String sjlx;		// 收件类型
	private String sjmc;		// 收件名称
	private String sjfj;		// 附件
	private Integer sjsl;		// 收件数量
	private String sfsjsy;		// 是否收缴收验
	private String sfewsj;		// 是否额外收件
	private String sfbcsj;		// 是否补充收件
	private Integer ys;		// 页数
	private String ischoice;		// ischoice
	private String mainid;		// 收件主表ID 父类
	
	public RegBusSjchild() {
		super();
	}

	public RegBusSjchild(String id){
		super(id);
	}

	public RegBusSjchild(RegBusSjmain mainId){
		this.mainId = mainId;
	}

	public String getMainid() {
		return mainid;
	}

	public void setMainid(String mainid) {
		this.mainid = mainid;
	}

	@Length(min=0, max=64, message="收件主表ID长度必须介于 0 和 64 之间")
	public RegBusSjmain getMainId() {
		return mainId;
	}

	public void setMainId(RegBusSjmain mainId) {
		this.mainId = mainId;
	}
	
	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Length(min=0, max=4, message="收件类型长度必须介于 0 和 4 之间")
	public String getSjlx() {
		return sjlx;
	}

	public void setSjlx(String sjlx) {
		this.sjlx = sjlx;
	}
	
	@Length(min=0, max=100, message="收件名称长度必须介于 0 和 100 之间")
	public String getSjmc() {
		return sjmc;
	}

	public void setSjmc(String sjmc) {
		this.sjmc = sjmc;
	}
	
	@Length(min=0, max=100, message="附件长度必须介于 0 和 100 之间")
	public String getSjfj() {
		return sjfj;
	}

	public void setSjfj(String sjfj) {
		this.sjfj = sjfj;
	}
	
	public Integer getSjsl() {
		return sjsl;
	}

	public void setSjsl(Integer sjsl) {
		this.sjsl = sjsl;
	}
	
	@Length(min=0, max=2, message="是否收缴收验长度必须介于 0 和 2 之间")
	public String getSfsjsy() {
		return sfsjsy;
	}

	public void setSfsjsy(String sfsjsy) {
		this.sfsjsy = sfsjsy;
	}
	
	@Length(min=0, max=2, message="是否额外收件长度必须介于 0 和 2 之间")
	public String getSfewsj() {
		return sfewsj;
	}

	public void setSfewsj(String sfewsj) {
		this.sfewsj = sfewsj;
	}
	
	@Length(min=0, max=2, message="是否补充收件长度必须介于 0 和 2 之间")
	public String getSfbcsj() {
		return sfbcsj;
	}

	public void setSfbcsj(String sfbcsj) {
		this.sfbcsj = sfbcsj;
	}
	
	public Integer getYs() {
		return ys;
	}

	public void setYs(Integer ys) {
		this.ys = ys;
	}
	
	@Length(min=0, max=2, message="ischoice长度必须介于 0 和 2 之间")
	public String getIschoice() {
		return ischoice;
	}

	public void setIschoice(String ischoice) {
		this.ischoice = ischoice;
	}
	
}