b719cbe8fe901e97ab2dc23b2f9b50f33a5f1a91.svn-base 2.18 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 2016-04-04
 */
public class RegBusSfSub extends DataEntity<RegBusSfSub> {
	
	private static final long serialVersionUID = 1L;
	private RegBusSf mainId;		// 收费主表ID 父类
	private String sfkmmc;		// 收费科目名称
	private String sfewsf;		// 是否额外收费
	private String sfjs;		// 收费基数
	private String sflx;		// 收费类型
	private String ysje;		// 应收金额
	private String zkhysje;		// 折扣后应收金额
	private String ssje;		// 实收金额
	
	public RegBusSfSub() {
		super();
	}

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

	public RegBusSfSub(RegBusSf mainId){
		this.mainId = mainId;
	}

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

	public void setMainId(RegBusSf mainId) {
		this.mainId = mainId;
	}
	
	@Length(min=1, max=50, message="收费科目名称长度必须介于 1 和 50 之间")
	public String getSfkmmc() {
		return sfkmmc;
	}

	public void setSfkmmc(String sfkmmc) {
		this.sfkmmc = sfkmmc;
	}
	
	@Length(min=0, max=2, message="是否额外收费长度必须介于 0 和 2 之间")
	public String getSfewsf() {
		return sfewsf;
	}

	public void setSfewsf(String sfewsf) {
		this.sfewsf = sfewsf;
	}
	
	public String getSfjs() {
		return sfjs;
	}

	public void setSfjs(String sfjs) {
		this.sfjs = sfjs;
	}
	
	@Length(min=0, max=2, message="收费类型长度必须介于 0 和 2 之间")
	public String getSflx() {
		return sflx;
	}

	public void setSflx(String sflx) {
		this.sflx = sflx;
	}
	
	public String getYsje() {
		return ysje;
	}

	public void setYsje(String ysje) {
		this.ysje = ysje;
	}
	
	public String getZkhysje() {
		return zkhysje;
	}

	public void setZkhysje(String zkhysje) {
		this.zkhysje = zkhysje;
	}
	
	public String getSsje() {
		return ssje;
	}

	public void setSsje(String ssje) {
		this.ssje = ssje;
	}
	
}