package com.ruoyi.web.modules.industryservice.domain;

import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农村三资数据填报，对应表 {@code biz_rural_three_assets}。
 * <p>粒度：村级唯一；固定资产 = 经营性固定资产 + 非经营性固定资产（保存时派生落库）。</p>
 */
public class BizRuralThreeAssets extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long townDeptId;

    private String townName;

    @NotNull(message = "所属村不能为空")
    private Long villageDeptId;

    private String villageName;

    /** 经营性固定资产（万元） */
    private BigDecimal operatingFixedAssets;

    /** 非经营性固定资产（万元） */
    private BigDecimal nonOperatingFixedAssets;

    /** 固定资产（万元），派生 */
    private BigDecimal fixedAssets;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getTownDeptId()
    {
        return townDeptId;
    }

    public void setTownDeptId(Long townDeptId)
    {
        this.townDeptId = townDeptId;
    }

    public String getTownName()
    {
        return townName;
    }

    public void setTownName(String townName)
    {
        this.townName = townName;
    }

    public Long getVillageDeptId()
    {
        return villageDeptId;
    }

    public void setVillageDeptId(Long villageDeptId)
    {
        this.villageDeptId = villageDeptId;
    }

    public String getVillageName()
    {
        return villageName;
    }

    public void setVillageName(String villageName)
    {
        this.villageName = villageName;
    }

    public BigDecimal getOperatingFixedAssets()
    {
        return operatingFixedAssets;
    }

    public void setOperatingFixedAssets(BigDecimal operatingFixedAssets)
    {
        this.operatingFixedAssets = operatingFixedAssets;
    }

    public BigDecimal getNonOperatingFixedAssets()
    {
        return nonOperatingFixedAssets;
    }

    public void setNonOperatingFixedAssets(BigDecimal nonOperatingFixedAssets)
    {
        this.nonOperatingFixedAssets = nonOperatingFixedAssets;
    }

    public BigDecimal getFixedAssets()
    {
        return fixedAssets;
    }

    public void setFixedAssets(BigDecimal fixedAssets)
    {
        this.fixedAssets = fixedAssets;
    }
}
