public void SetGroup(bool isUseGroup, int groupRowSpan, CashType type) { IsUseGroup = isUseGroup; GroupRowSpan = groupRowSpan; Type = type; TypeName = type.ToDescriptionString(); }
public void SetGroup(CashType type, int groupRows) { TypeName = type.ToDescriptionString(); Type = type; IsUseGroup = true; GroupRows = groupRows; }
public BudgetCashflowMasterDto(int cashflowTypeId, int cashflowCategoryId, int cashflowSubCategoryId, string cashflowType, CashType cashType, string cashflowCategory, string cashflowSubCategory) { CashflowTypeId = cashflowTypeId; CashflowCategoryId = cashflowCategoryId; CashflowSubCategoryId = cashflowSubCategoryId; CashflowType = cashflowType; CashType = cashType.ToDescriptionString(); CashflowType = cashflowType; CashflowCategory = cashflowCategory; CashflowSubCategory = cashflowSubCategory; }
public BudgetCashflowUnitDto(int cashflowTypeId, string cashflowTypeName, int cashflowCategoryId, string cashflowCategoryName, int cashflowSubCategoryId, string cashflowSubCategoryName, bool cashflowSubCategoryReadOnly, CashType cashflowCashType) { CashflowTypeId = cashflowTypeId; CashflowTypeName = cashflowTypeName; CashflowCategoryId = cashflowCategoryId; CashflowCategoryName = cashflowCategoryName; CashflowSubCategoryId = cashflowSubCategoryId; CashflowSubCategoryName = cashflowSubCategoryName; IsReadOnly = cashflowSubCategoryReadOnly; TypeName = cashflowCashType.ToDescriptionString(); }
public BudgetCashflowDivisionItemDto(BudgetCashflowTypeModel cashflowType, CashType type, BudgetCashflowCategoryModel cashflowCategory, BudgetCashflowSubCategoryModel cashflowSubCategory, CurrencyDto currency, bool isShowSubCategoryLabel) : this(cashflowType, type) { CashflowType = cashflowType; Type = type; TypeName = type.ToDescriptionString(); CashflowCategory = cashflowCategory; CashflowSubCategory = cashflowSubCategory; Currency = currency; IsSubCategory = true; IsShowSubCategoryLabel = isShowSubCategoryLabel; Items = new List <BudgetCashflowDivisionUnitItemDto>(); }